Sentry.AspNetCore 3.6.0-alpha.1

Official ASP.NET Core integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.

This is a prerelease version of Sentry.AspNetCore.
There is a newer version of this package available.
See the version list below for details.
Install-Package Sentry.AspNetCore -Version 3.6.0-alpha.1
dotnet add package Sentry.AspNetCore --version 3.6.0-alpha.1
<PackageReference Include="Sentry.AspNetCore" Version="3.6.0-alpha.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sentry.AspNetCore --version 3.6.0-alpha.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Sentry.AspNetCore, 3.6.0-alpha.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Sentry.AspNetCore as a Cake Addin
#addin nuget:?package=Sentry.AspNetCore&version=3.6.0-alpha.1&prerelease

// Install Sentry.AspNetCore as a Cake Tool
#tool nuget:?package=Sentry.AspNetCore&version=3.6.0-alpha.1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

<p align="center"> <a href="https://sentry.io" target="_blank"> <img src="https://raw.githubusercontent.com/getsentry/sentry-dotnet/main/.assets/sentry-logo.png" alt="Sentry logo" width="280"> </a> </p>

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 <kbd>Check out our open positions</kbd>

Sentry SDK for .NET

build codecov line count Discord Chat

Integrations Downloads NuGet Stable NuGet Preview Documentation
Sentry Downloads NuGet NuGet Documentation
Sentry.Extensions.Logging Downloads NuGet NuGet Documentation
Sentry.AspNetCore Downloads NuGet NuGet Documentation
Sentry.AspNetCore.Grpc Downloads NuGet NuGet Documentation
Sentry.AspNet Downloads NuGet NuGet Documentation
Sentry.EntityFramework Downloads NuGet NuGet Documentation
Sentry.Serilog Downloads NuGet NuGet Documentation
Sentry.Log4Net Downloads NuGet NuGet Documentation
Sentry.NLog Downloads NuGet NuGet Documentation

More Sentry .NET Integrations

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

  • Sentry.Minidump: Capture Minidumps on Windows, macOS and Linux.
  • Sentry.Xamarin: Xamarin native and Xamarin.Forms integration to get device data, breadcrumbs, and more.

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. The .NET API (DocFX) is generated on each merge to main and pushed to GitHub pages Documentation.

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.

Compatibility

The packages target .NET Standard 2.0 and .NET Framework 4.6.1. That means it is compatible with the following versions or newer:

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

Of those, we've tested (we run our unit/integration tests) against:

  • .NET Framework 4.8 on Windows
  • Mono 6.6 on macOS and Linux
  • .NET Core 2.1 on Windows, macOS and Linux
  • .NET Core 3.1 on Windows, macOS and Linux
  • .NET 5 on Windows, macOS and Linux

Sentry Protocol

For more details, please: refer to the documentation

Legacy frameworks

Sentry's Raven SDK, battle tested with over 3.500.000 downloads on NuGet has support to .NET Framework 3.5+ and is compatible with all versions of Sentry including sentry.io.

Resources

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

<p align="center"> <a href="https://sentry.io" target="_blank"> <img src="https://raw.githubusercontent.com/getsentry/sentry-dotnet/main/.assets/sentry-logo.png" alt="Sentry logo" width="280"> </a> </p>

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 <kbd>Check out our open positions</kbd>

Sentry SDK for .NET

build codecov line count Discord Chat

Integrations Downloads NuGet Stable NuGet Preview Documentation
Sentry Downloads NuGet NuGet Documentation
Sentry.Extensions.Logging Downloads NuGet NuGet Documentation
Sentry.AspNetCore Downloads NuGet NuGet Documentation
Sentry.AspNetCore.Grpc Downloads NuGet NuGet Documentation
Sentry.AspNet Downloads NuGet NuGet Documentation
Sentry.EntityFramework Downloads NuGet NuGet Documentation
Sentry.Serilog Downloads NuGet NuGet Documentation
Sentry.Log4Net Downloads NuGet NuGet Documentation
Sentry.NLog Downloads NuGet NuGet Documentation

More Sentry .NET Integrations

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

  • Sentry.Minidump: Capture Minidumps on Windows, macOS and Linux.
  • Sentry.Xamarin: Xamarin native and Xamarin.Forms integration to get device data, breadcrumbs, and more.

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. The .NET API (DocFX) is generated on each merge to main and pushed to GitHub pages Documentation.

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.

Compatibility

The packages target .NET Standard 2.0 and .NET Framework 4.6.1. That means it is compatible with the following versions or newer:

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

Of those, we've tested (we run our unit/integration tests) against:

  • .NET Framework 4.8 on Windows
  • Mono 6.6 on macOS and Linux
  • .NET Core 2.1 on Windows, macOS and Linux
  • .NET Core 3.1 on Windows, macOS and Linux
  • .NET 5 on Windows, macOS and Linux

Sentry Protocol

For more details, please: refer to the documentation

Legacy frameworks

Sentry's Raven SDK, battle tested with over 3.500.000 downloads on NuGet has support to .NET Framework 3.5+ and is compatible with all versions of Sentry including sentry.io.

Resources

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

Release Notes

Changes since version 3.5.0

Features:
- Implemented client-mode release health ([#1013](https://github.com/getsentry/sentry-dotnet/pull/1013))

Fixes:
- Report lowercase staging environment for ASP.NET Core ([#1046](https://github.com/getsentry/sentry-unity/pull/1046))
-->
     See full changelog at https://github.com/getsentry/sentry-dotnet/blob/main/CHANGELOG.md

NuGet packages (18)

Showing the top 5 NuGet packages that depend on Sentry.AspNetCore:

Package Downloads
Amelia
Package Description
FewBox.Core.Web
Web class lib.
SvrdSdk.AspNetCore
Package Description
Sentry.AspNetCore.Grpc
Official ASP.NET Core gRPC integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.
Zicard.API.Common
Bases microservices da Zicard API

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Sentry.AspNetCore:

Repository Stars
Kareadita/Kavita
Kavita is a fast, feature rich, cross platform reading server. Built with a focus for manga and the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
madslundt/NetCoreMediatrSample
Sample using Command and Query Responsibility Segregation (CQRS) implemented in .NET Core by using MediatR and identityserver4, background workers, real-time metrics, monitoring, logging, validations, swagger and more

Version History

Version Downloads Last updated
3.8.3 7,246 7/25/2021
3.8.2 16,591 7/17/2021
3.8.1 3,320 7/15/2021
3.8.0 6,394 7/14/2021
3.7.0 10,607 7/10/2021
3.6.1 17,270 7/2/2021
3.6.0 21,554 6/23/2021
3.6.0-alpha.2 84 6/18/2021
3.6.0-alpha.1 82 6/11/2021
3.5.0 56,485 6/7/2021
3.4.0 26,246 5/31/2021
3.4.0-beta.0 56 5/27/2021
3.3.5-beta.0 975 5/13/2021
3.3.4 155,428 4/26/2021
3.3.3 2,318 4/23/2021
3.3.2 5,516 4/23/2021
3.3.1 99,549 4/5/2021
3.3.0 13,617 4/3/2021
3.2.0 24,610 3/26/2021
3.1.0 103,123 3/10/2021
3.0.8 21,572 3/4/2021
3.0.7 52,625 2/20/2021
3.0.6 30,909 2/14/2021
3.0.5 14,962 2/9/2021
3.0.4 8,606 2/8/2021
3.0.3 31,170 2/3/2021
3.0.2 5,936 2/3/2021
3.0.1 20,655 1/29/2021
3.0.0 4,198 1/28/2021
3.0.0-beta.0 289 1/20/2021
3.0.0-alpha.11 240 1/15/2021
3.0.0-alpha.10 503 1/10/2021
3.0.0-alpha.9 532 12/29/2020
3.0.0-alpha.8 562 12/25/2020
3.0.0-alpha.7 2,582 12/16/2020
3.0.0-alpha.6 1,149 11/30/2020
3.0.0-alpha.5 3,071 11/21/2020
3.0.0-alpha.4 1,639 11/2/2020
3.0.0-alpha.3 126 10/29/2020
3.0.0-alpha.2 228 10/21/2020
3.0.0-alpha.1 183 10/16/2020
3.0.0-alpha.0 467 9/25/2020
2.2.0-alpha 1,078 9/19/2020
2.1.8 361,619 11/21/2020
2.1.6 576,615 8/20/2020
2.1.5 114,639 7/27/2020
2.1.5-beta 2,450 6/30/2020
2.1.4 172,374 6/25/2020
2.1.3 174,932 6/5/2020
2.1.2-beta5 2,784 5/19/2020
2.1.2-beta4 1,261 5/12/2020
2.1.2-beta3 751 5/7/2020
2.1.2-beta2 6,633 4/16/2020
2.1.2-beta 2,002 3/31/2020
2.1.1 479,917 3/19/2020
2.1.0 208,426 2/24/2020
2.0.3 73,911 2/12/2020
2.0.2 17,026 2/8/2020
2.0.1 60,849 1/28/2020
2.0.0 864 1/28/2020
2.0.0-beta8 20,340 1/15/2020
2.0.0-beta7 96,764 12/17/2019
2.0.0-beta6 72,898 10/31/2019
2.0.0-beta5 5,706 10/29/2019
2.0.0-beta4 40,251 9/4/2019
2.0.0-beta3 11,470 7/26/2019
2.0.0-beta2 3,291 6/9/2019
2.0.0-beta 1,854 6/4/2019
1.2.1-beta 479 5/27/2019
1.2.0 761,790 5/23/2019
1.1.3-beta4 612 5/15/2019
1.1.3-beta3 409 5/13/2019
1.1.3-beta2 1,760 3/28/2019
1.1.3-beta 2,462 2/11/2019
1.1.2 290,716 1/16/2019
1.1.2-beta 914 1/8/2019
1.1.1 12,050 1/5/2019
1.1.0 41,762 12/5/2018
1.0.1-beta5 817 12/5/2018
1.0.1-beta4 1,369 12/3/2018
1.0.1-beta3 12,472 11/15/2018
1.0.1-beta2 1,345 11/14/2018
1.0.1-beta 14,716 10/24/2018
1.0.0 176,441 10/2/2018
1.0.0-rc2 19,353 9/7/2018
1.0.0-rc 3,596 8/24/2018
0.0.1-preview5 4,577 8/5/2018
0.0.1-preview4 3,088 7/30/2018
0.0.1-preview3 3,609 7/17/2018
0.0.1-preview2 4,494 7/3/2018
0.0.1-preview1 1,070 6/28/2018
Show less