Skip to main content

Sentry .NET SDK

Skill Verified Active
Part of:Sentry

Full 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.

Purpose

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

  1. Detect project type, .NET version, and existing Sentry installations.
  2. Recommend core (error monitoring, tracing, logging) and optional (profiling, crons) features based on project specifics.
  3. Guide the user through installation via a recommended wizard or detailed manual setup.
  4. Provide specific code snippets for ASP.NET Core, WPF, WinForms, MAUI, Blazor, Azure Functions, and classic ASP.NET.
  5. Explain symbol upload for readable stack traces.
  6. Instruct on loading reference files for specific features (error monitoring, tracing, etc.).
  7. Guide on verification by adding test exceptions and checking the Sentry dashboard.
  8. 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-marketplace

Quality Score

Verified
99 /100
Analyzed about 15 hours ago

Trust Signals

Last commitabout 22 hours ago
Stars170
LicenseApache-2.0
Status
View Source

Similar Extensions

Sentry React SDK

100

Full 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.

Skill
getsentry

Sentry React Router Framework Sdk

100

Full 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.

Skill
getsentry

Sentry Python SDK

100

Full 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.

Skill
getsentry

Sentry Svelte Sdk

99

Full 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.

Skill
getsentry

Sentry Next.js SDK Setup

99

Full 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.

Skill
getsentry

Sentry Elixir Sdk

99

Full 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.

Skill
getsentry

© 2025 SkillRepo · Find the right skill, skip the noise.