跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Sentry .NET SDK

技能 已验证 活跃
属于: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.

目的

To guide users through the complete setup of Sentry SDKs for .NET applications across different frameworks and observability 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

使用场景

  • 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

非目标

  • 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)

工作流

  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.

安装

请先添加 Marketplace

/plugin marketplace add getsentry/sentry-for-ai
/plugin install sentry-for-ai@sentry-plugin-marketplace

质量评分

已验证
99 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标170
许可证Apache-2.0
状态
查看源代码

类似扩展

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.

技能
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.

技能
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.

技能
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.

技能
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.

技能
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.

技能
getsentry