Sentry SDK for .NET

November 5, 2023 ยท View on GitHub


Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us, check out our open positions.

Sentry SDK for .NET

build Discord Chat

IntegrationsDownloadsNuGet StableNuGet PreviewDocumentation
SentryDownloadsNuGetNuGetDocumentation
Sentry.AspNetCoreDownloadsNuGetNuGetDocumentation
Sentry.AspNetCore.GrpcDownloadsNuGetNuGetDocumentation
Sentry.AspNetDownloadsNuGetNuGetDocumentation
Sentry.DiagnosticSourceDownloadsNuGetNuGetDocumentation
Sentry.EntityFrameworkDownloadsNuGetNuGetDocumentation
Sentry.Azure.Functions.WorkerDownloadsNuGetNuGetDocumentation
Sentry.Google.Cloud.FunctionsDownloadsNuGetNuGetDocumentation
Sentry.MauiDownloadsNuGetNuGetDocumentation
Sentry.SerilogDownloadsNuGetNuGetDocumentation
Sentry.NLogDownloadsNuGetNuGetDocumentation
Sentry.Log4NetDownloadsNuGetNuGetDocumentation
Sentry.OpenTelemetryDownloadsNuGetNuGetDocumentation

More Sentry .NET Integrations

Sentry offers other integrations that are not part of this repository:

Looking for something else? Let us know by raising an issue.

Documentation

Each NuGet package in the table above has its custom view of the docs. Click on the badge to find the best documentation for your use case.

Sentry has extensive documentation for its SDKs on https://docs.sentry.io.

Additionally, our .NET API reference docs are generated and deployed on each merge to main.

Samples

Consider taking a look at the samples directory for different types of apps and example usages of the SDK.

Looking for more samples? Check out this repository.

Talks

Compatibility

The packages target .NET Standard 2.0 and .NET Framework 4.6.1. They also include targets such as .NET 5, .NET 6 and platform-specific targets where appropriate. That means they are compatible with the following versions or newer:

  • .NET 5.0
  • .NET Core 2.0
  • .NET Framework 4.6.1
  • Mono 5.4
  • Xamarin.Android 8.0
  • Xamarin.iOS 10.14
  • Xamarin.Mac 3.8
  • Universal Windows Platform 10.0.16299

Of those, we run our unit and integration tests against the following:

  • .NET 7 on Windows, macOS and Linux
  • .NET 6 on Windows, macOS and Linux
  • .NET Core 3.1 on Windows, macOS and Linux
  • .NET Framework 4.8 on Windows
  • Mono 6.12 on macOS and Linux

Sentry Protocol

For more details, please: refer to the documentation

Legacy frameworks

Sentry's Raven SDK is still available, and recommended for use with .NET Framework 3.5 to 4.6.0.

Resources

  • Documentation
  • Discussions
  • Discord Chat
  • Stack Overflow
  • Twitter Follow