
Sentry Dotnet Sdk
This is a comprehensive wizard that handles the full Sentry integration for .NET projects. It scans your codebase to detect framework type (ASP.NET Core, MAUI, WPF, WinForms, Blazor, Azure Functions), figures out which package you need, then walks you through error monitoring, distributed tracing, profiling, logging, and cron monitoring setup. The detection phase is solid, it knows the difference between a hosted web app and a desktop app where you need IsGlobalModeEnabled, and it maps framework types to the right Sentry packages. You get both wizard and manual paths, with specific Program.cs and App.xaml.cs snippets that account for things like WPF constructor timing and serverless flush behavior. Good for anyone past the hello world stage who wants proper observability without reading docs for an hour.
- skills.sh installs
- 303
- GitHub stars
- 25
- last updated
- Aug 21, 2026
Install
$ npx -y skills add getsentry/sentry-agent-skills --skill sentry-dotnet-sdk --agent claude-codeInstalls into .claude/skills of the current project.
Files
Sentry .NET SDK
Opinionated wizard that scans your .NET project and guides you through complete Sentry setup: error monitoring, distributed tracing, profiling, structured logging, and cron monitoring across all major .NET frameworks.
Invoke This Skill When
- User asks to "add Sentry to .NET", "set up Sentry in C#", or "install Sentry for ASP.NET Core"
- User wants error monitoring, tracing, profiling, logging, or crons for a .NET app
- User mentions
SentrySdk.Init,UseSentry,Sentry.AspNetCore, orSentry.Maui - User wants to capture unhandled exceptions in WPF, WinForms, MAUI, or Azure Functions
- User asks about
SentryOptions,BeforeSend,TracesSampleRate, or symbol upload
Note: SDK version and APIs below reflect
SentryNuGet packages ≥6.1.0. Always verify against docs.sentry.io/platforms/dotnet/ before implementing.
Phase 1: Detect
Run these commands to understand the project before making any recommendations:
# Detect framework type — find all .csproj files
find . -name "*.csproj" | head -20
# Detect framework targets
grep -r "TargetFramework\|Project Sdk" --include="*.csproj" .
Sponsors
Details
- Repository
- github.com/getsentry/sentry-agent-skills
- Categories
- DevOps & CI/CD, AI & Agent Building, Debugging, Cloud & Infrastructure, Mobile Development, .NET & C#
- First seen
- Jun 3, 2026
More from getsentry/sentry-agent-skills
All 20- Sentry Setup Logging289
- Sentry Setup Tracing253
- Sentry Setup Metrics209
- Sentry React Native Setup150
- Sentry Fix Issues2.6K
- Sentry React Setup1.1K
- Sentry Setup Ai Monitoring900
- Sentry Nextjs Sdk665
- Sentry Pr Code Review637
- Sentry Create Alert596
- Sentry React Sdk586
- Sentry React Native Sdk549
- Sentry Sdk Skill Creator422
- Sentry Python Sdk384
- Sentry Cocoa Sdk334
- Sentry Go Sdk321
- Sentry Svelte Sdk319
- Sentry Ruby Sdk311
- Sentry Otel Exporter Setup304