sentry-dotnet-sdk

Integrate Sentry SDK for .NET error monitoring, tracing, and profiling.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/Himanshu040604/codex-skills-setup --skill sentry-dotnet-sdk-himanshu040604
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry-dotnet-sdk
Source: https://github.com/Himanshu040604/codex-skills-setup/tree/main/assets/codex/skills/claude-import/skills/plugins/sentry%40claude-plugins-official/skills/sentry-dotnet-sdk
Command: npx skills add https://github.com/Himanshu040604/codex-skills-setup --skill sentry-dotnet-sdk-himanshu040604

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers integrate Sentry error monitoring, tracing, and profiling into their .NET applications, ensuring robust error tracking and performance insights.

Core Features & Use Cases

  • Automated SDK Setup: Guides through installing and configuring Sentry SDKs for various .NET frameworks (ASP.NET Core, WPF, MAUI, etc.).
  • Error Monitoring: Captures unhandled exceptions, provides stack traces, and enriches events with context.
  • Distributed Tracing: Instruments HTTP requests, database queries, and custom operations to trace requests across services.
  • Profiling: Captures CPU usage to identify performance bottlenecks in .NET 8+ applications.
  • Use Case: You're building an ASP.NET Core application and want to ensure all errors are captured and performance issues are identified. This Skill will guide you through adding the Sentry SDK, configuring it, and verifying the setup.

Quick Start

Use the sentry-dotnet-sdk skill to add Sentry error monitoring to your ASP.NET Core application.

Frequently Asked Questions about sentry-dotnet-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add Sentry error monitoring to an ASP.NET Core application?

To add Sentry error monitoring to an ASP.NET Core application, you integrate the Sentry .NET SDK to automatically capture unhandled exceptions, enrich events with context, and provide readable stack traces.

Can I use Sentry SDK for distributed tracing in .NET MAUI or Blazor apps?

Yes, Sentry SDK supports distributed tracing in .NET MAUI, Blazor, WPF, and Azure Functions. It instruments HTTP requests, database queries, and custom operations to trace requests across services.

Does Sentry support performance profiling for .NET 8+?

Sentry supports CPU profiling for .NET 8+ applications, capturing CPU usage to help identify performance bottlenecks and resolve performance issues through span instrumentation.

Why do I need to upload symbols for Sentry .NET exception handling?

Uploading symbols is necessary for Sentry exception handling to provide readable stack traces. It translates compiled code references back to source code, ensuring accurate error diagnosis.

What's the best way to configure automatic unhandled exception capture in .NET?

The best way to configure automatic unhandled exception capture in .NET is by installing and configuring the Sentry SDK, which automatically catches errors and enriches event data with application context.

What are common limitations when setting up Sentry SDK in .NET console applications?

Limitations when setting up Sentry SDK in .NET console applications include potential troubleshooting issues with integration, requiring guidance on symbol upload and configuration verification to ensure proper error tracking.