New advertisers: 50% off your first month with code FIRSTMONTHSee slots
getsentry avatar

Sentry Dotnet Sdk

Full Sentry .NET SDK setup wizard covering errors, tracing, profiling, logging, and crons across major .NET frameworks.

skills.sh installs
2.4K
GitHub stars
280
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers project detection, recommendation, and manual or wizard-based setup for ASP.NET Core, WPF, WinForms, MAUI, Blazor, and Azure Functions
  • Includes package mapping per framework, Program.cs and appsettings.json configuration samples, and environment variable overrides using Sentry__ prefixes
  • Enforces initialization in the WPF App constructor rather than OnStartup() so earlier failures are captured
  • Designed for .NET developers adding Sentry to an existing project, with a companion frontend cross-link when one is detected

Install

$ npx -y skills add getsentry/sentry-for-ai --skill sentry-dotnet-sdk -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

All Skills > SDK Setup > .NET SDK

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, or Sentry.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 Sentry NuGet packages ≥6.1.0 (OTLP export requires ≥6.5.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:

Details

Repository
github.com/getsentry/sentry-for-ai
Categories
.NET & C#, Debugging
First seen
May 16, 2026

More from getsentry/sentry-for-ai

All 27

Similar to Sentry Dotnet Sdk

More .NET & C#