NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet · #663 most downloaded on NuGet
Official Microsoft.Extensions.Logging integration for Sentry - Open-source error tracking that helps developers monitor and fix crashes in real time.
Last release 7 days ago
01 Oct 2026
Ships fairly regularly
a new release about every 2 weeks
Nearly every release is documented
notes for 59 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
127 years old
208 releases · first in 1900
Add option to ASP.NET Core to flush events after response complete
BackgroundWorker (#293)Sentry. frames from InApp (#272)Add support to DefaultTags for ASP.NET Core and M.E.Logging
One column per quarter.
All public members were documented: #252
Thanks @josh-degraw for:
Removed dev dependency from external dependencies 4d92ab0
Sentry.Protocol 836fb07eSentry.PlatformAbsrtractions #226Major version bumped due to these breaking changes:
Major version bumped due to these breaking changes:
Sentry.Protocol version 2.0.0
ContextLine #223StackTrace from Threads #222FlushAsync added to ISentryClient #214Other Features:
Fixes:
Microsoft.Extensions.Logging ConfigureScope invocation. #208, #210, #224 Thanks @dbraillonSentry.Serilog Verbose level. #213, #217. Thanks @kanadajFixes and improvements to the NLog integration: #207 by @josh-degraw
Fixes and improvements to the NLog integration: #207 by @josh-degraw
Optionally skip module registrations #202 - (Thanks @josh-degraw)
Bug fix: Don't override user #199
Bug fix: Don't override user #199
First NLog integration release #188 (Thanks @josh-degraw)
MaxRequestSize for ASP.NET and ASP.NET Core #174
Feature:
Fix: Diagnostic log order: #173 by @scolestock
Read the hub to take latest Client: 8f4b5ba1a3
Fixed:
Feature
AddSentry #163 by @F1nZeRAddSentry has now ConfigureScope: #160Using new version of the protocol with fixes and features.
Using new version of the protocol with fixes and features.
Fixed:
ASP.NET Core integration issue when containers are built on the ServiceCollection after SDK is initialized (#157, #103 )
ASP.NET Core integration issue when containers are built on the ServiceCollection after SDK is initialized (#157, #103 )
Fixed:
Serilog bug that self log would recurse #156
Fixed:
Feature:
Includes all features and bug fixes of previous beta releases:
Includes all features and bug fixes of previous beta releases:
Features:
Bug fixes:
Thanks to our growing list of contributors.
SentryClient.shared?.enableAutomaticBreadcrumbTracking() for iOS which sends all actions and viewDidAppear as breadcrumbs to the serverAdded net461 target to Serilog package #148
net461 target to Serilog package #148Capture methods return SentryId #139, #140
Capture methods return SentryId #139, #140Thanks to our growing list of contributors.
Lowering Newtonsoft.Json requirements; #138
Lowering Newtonsoft.Json requirements; #138
Sentry package Includes net461 target #135
Sentry package Includes net461 target #135
Use log entry to improve grouping #125
Features:
AddProcessors extension methods on Options public #115Bug fixes:
Automatic Captures global unhandled exceptions (AppDomain)
Sentry package.Sentry package.Sentry.Extensions.Logging package.UseSentry.UseExceptionHandler and Error page display.IHostingEnvironment)All packages are:
Sample event using the log4net integration:
Download it directly from GitHub or using NuGet:
| Integrations | NuGet |
|---|---|
| Sentry | |
| Sentry.AspNetCore | |
| Sentry.Extensions.Logging | |
| Sentry.Log4Net |
UserFeedback feature to iOSSentrySdk.LastEventId to get scoped id
Features and improvements:
SentrySdk.LastEventId to get scoped idBeforeBreadcrumb to allow dropping or modifying a breadcrumbFunc<SentryEvent,SentryEvent>Bug fixes:
Download it directly below from GitHub or using NuGet:
| Integrations | NuGet |
|---|---|
| Sentry | |
| Sentry.AspNetCore | |
| Sentry.Extensions.Logging | |
| Sentry.Log4Net |
Microsoft.Extensions.Logging (MEL) use framework configuration system #79 (Thanks @pengweiqhca)
Features and improvements:
SendDefaultPii): #83Debug): #85AttachStackTrace) #86Bug fixes:
AddSentry https://github.com/getsentry/sentry-dotnet/commit/2498ab4081f171dc78e7f74e4f1f781a557c5d4fBreaking changes:
The settings for HTTP and Worker have been moved to SentryOptions. There's no need to call option.Http(h => h...) anymore.
option.Proxy was renamed to option.HttpProxy.
New sample using GenericHost
Download it directly below from GitHub or using NuGet:
| Integrations | NuGet |
|---|---|
| Sentry | |
| Sentry.AspNetCore | |
| Sentry.Extensions.Logging | |
| Sentry.Log4Net |
Support buffered gzip request #73
Features:
Bug fixes:
Watch on youtube how to use the ASP.NET Core integration
Download it directly below from GitHub or using NuGet:
| Integrations | NuGet |
|---|---|
| Sentry | |
| Sentry.AspNetCore | |
| Sentry.Extensions.Logging | |
| Sentry.Log4Net |
Using Sentry Protocol as a dependency
Features:
SentryOptions #49Bug fixes:
Init pushes the first scope #55, #54Exception.Data copied to SentryEvent.Data while storing the index of originating error.Improvements to the docs like:
ConfigureScope clarificationsDownload it directly from GitHub or using NuGet:
| Integrations | NuGet |
|---|---|
| Sentry | |
| Sentry.AspNetCore | |
| Sentry.Extensions.Logging | |
| Sentry.Log4Net |
This third preview includes bug fixes and more features. Test coverage increased to 96%
This third preview includes bug fixes and more features. Test coverage increased to 96%
Features and improvements:
Bug fixes:
Watch on youtube how to use the ASP.NET Core integration.
Download it directly from GitHub or using NuGet:
| Integrations | NuGet |
|---|---|
| Sentry | |
| Sentry.AspNetCore | |
| Sentry.Extensions.Logging |
This second release includes bug fixes and more features. Test coverage increased to 93%
This second release includes bug fixes and more features. Test coverage increased to 93%
Features and improvements:
CaptureMessageBeforeSend callback errors are sent as breadcrumbsASP.NET Core integration doesn't add tags added by Microsoft.Extensions.LoggingBugs fixed:
Download it directly from GitHub or using NuGet:
| Integrations | NuGet |
|---|---|
| Sentry | |
| Sentry.AspNetCore | |
| Sentry.Extensions.Logging |
Easy ASP.NET Core integration, single line: UseSentry.
Our first preview of the SDK:
Main features:
UseSentry.UseExceptionHandler and Error page display.Also available via NuGet:
Your coding agent can read these notes before it upgrades. Set up the MCP server →