Sentry .NET SDK
Skill Verified ActiveFull Sentry SDK setup for .NET. Use when asked to "add Sentry to .NET", "install Sentry for C#", or configure error monitoring, tracing, profiling, logging, or crons for ASP.NET Core, MAUI, WPF, WinForms, Blazor, Azure Functions, or any other .NET application.
To guide users through the complete setup of Sentry SDKs for .NET applications across different frameworks and observability features.
Features
- Automated project scanning and framework detection
- Guided setup for error monitoring, tracing, profiling, and logging
- Comprehensive manual setup instructions with code examples
- Support for ASP.NET Core, MAUI, WPF, WinForms, Blazor, Azure Functions, and more
- Symbol upload guidance for readable stack traces
Use Cases
- When asked to add Sentry to a .NET project
- When configuring error monitoring, tracing, profiling, or logging for a .NET application
- When needing to capture exceptions in WPF, WinForms, MAUI, or Azure Functions
- When setting up cross-service tracing with .NET backend applications
Non-Goals
- Setting up Sentry SDKs for non-.NET platforms
- Providing runtime Sentry error analysis or debugging
- Configuring Sentry frontend SDKs (though it cross-links to them)
Workflow
- Detect project type, .NET version, and existing Sentry installations.
- Recommend core (error monitoring, tracing, logging) and optional (profiling, crons) features based on project specifics.
- Guide the user through installation via a recommended wizard or detailed manual setup.
- Provide specific code snippets for ASP.NET Core, WPF, WinForms, MAUI, Blazor, Azure Functions, and classic ASP.NET.
- Explain symbol upload for readable stack traces.
- Instruct on loading reference files for specific features (error monitoring, tracing, etc.).
- Guide on verification by adding test exceptions and checking the Sentry dashboard.
- Suggest cross-linking to frontend SDK skills if a companion frontend is detected.
Compliance
- info:GDPRThe skill mentions `SendDefaultPii` and user data capture, advising users to be mindful of PII, but does not directly handle PII itself.
Execution
- info:Pinned dependenciesWhile the skill itself doesn't bundle dependencies, it advises installing specific NuGet package versions, promoting pinned dependencies.
Installation
First, add the marketplace
/plugin marketplace add getsentry/sentry-for-ai/plugin install sentry-for-ai@sentry-plugin-marketplaceQuality Score
VerifiedTrust Signals
Similar Extensions
Sentry React SDK
100Full Sentry SDK setup for React. Use when asked to "add Sentry to React", "install @sentry/react", or configure error monitoring, tracing, session replay, profiling, or logging for React applications. Supports React 16+, React Router v5-v7 non-framework mode, TanStack Router, Redux, Vite, and webpack.
Sentry React Router Framework Sdk
100Full Sentry SDK setup for React Router Framework mode. Use when asked to "add Sentry to React Router Framework", "install @sentry/react-router", or configure error monitoring, tracing, profiling, session replay, logs, or user feedback for a React Router v7 framework app.
Sentry Python SDK
100Full Sentry SDK setup for Python. Use when asked to "add Sentry to Python", "install sentry-sdk", "setup Sentry in Python", or configure error monitoring, tracing, profiling, logging, metrics, crons, or AI monitoring for Python applications. Supports Django, Flask, FastAPI, Celery, Starlette, AIOHTTP, Tornado, and more.
Sentry Svelte Sdk
99Full Sentry SDK setup for Svelte and SvelteKit. Use when asked to "add Sentry to Svelte", "add Sentry to SvelteKit", "install @sentry/sveltekit", or configure error monitoring, tracing, session replay, or logging for Svelte or SvelteKit applications.
Sentry Next.js SDK Setup
99Full Sentry SDK setup for Next.js. Use when asked to "add Sentry to Next.js", "install @sentry/nextjs", or configure error monitoring, tracing, session replay, logging, profiling, AI monitoring, or crons for Next.js applications. Supports Next.js 13+ with App Router and Pages Router.
Sentry Elixir Sdk
99Full Sentry SDK setup for Elixir. Use when asked to "add Sentry to Elixir", "install sentry for Elixir", or configure error monitoring, tracing, logging, or crons for Elixir, Phoenix, or Plug applications. Supports Phoenix, Plug, LiveView, Oban, and Quantum.