Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Releases: getsentry/sentry-dotnet-ef

3.0.3

06 Feb 15:40
5507ce9
Compare
Choose a tag to compare

Updated to Sentry 3.0.3 #12

2.1.6

23 Oct 16:55
Compare
Choose a tag to compare

Updated dependency versions

1.0.0

06 Jan 14:07
Compare
Choose a tag to compare

This is package extends Sentry's .NET SDK with Entity Framework 6 queries as Breadcrumbs.
It also processes DbEntityValidationExceptions to extract the validation errors and add to the Extra field.
This increases the debuggability of Entity Framework related errors gratefully.

Example in Sentry

Usage

There are 2 steps to adding Entity Framework 6 support to your project:

  • Call SentryDatabaseLogging.UseBreadcrumbs() to either your application's startup method, or into a static constructor inside your Entity Framework object. Make sure you only call this method once! This will add the interceptor to Entity Framework to log database queries.
  • When setting up your SentryClient, use SentryOptions.AddEntityFramework(). This extension method will register all error processors to extract extra data, such as validation errors, from the exceptions thrown by Entity Framework.

Samples

You can see it in action with a sample using ASP.NET MVC 5

Download it directly from GitHub or using NuGet:

Integrations NuGet
Sentry.EntityFramework NuGet

0.0.1-preview2

30 Jul 17:29
211ac53
Compare
Choose a tag to compare
0.0.1-preview2 Pre-release
Pre-release

Second release of the Entity Framework 6 Integration for Sentry

  • Error processors made public

This is package extends Sentry's .NET SDK with Entity Framework 6 queries as Breadcrumbs.
It also processes DbEntityValidationExceptions to extract the validation errors and add to the Extra field.
This increases the debuggability of Entity Framework related errors gratefully.

Example in Sentry

Usage

There are 2 steps to adding Entity Framework 6 support to your project:

  • Call SentryDatabaseLogging.UseBreadcrumbs() to either your application's startup method, or into a static constructor inside your Entity Framework object. Make sure you only call this method once! This will add the interceptor to Entity Framework to log database queries.
  • When setting up your SentryClient, use SentryOptions.AddEntityFramework(). This extension method will register all error processors to extract extra data, such as validation errors, from the exceptions thrown by Entity Framework.

Samples

You can see it in action with a sample using ASP.NET MVC 5

Download it directly from GitHub or using NuGet:

Integrations NuGet
Sentry.EntityFramework NuGet

0.0.1-preview1

19 Jul 11:50
Compare
Choose a tag to compare
0.0.1-preview1 Pre-release
Pre-release

First release of the Entity Framework 6 Integration for Sentry

This is package extends Sentry's .NET SDK with Entity Framework 6 queries as Breadcrumbs.
It also processes DbEntityValidationExceptions to extract the validation errors and add to the Extra field.
This increases the debuggability of Entity Framework related errors gratefully.

Example in Sentry

Usage

There are 2 steps to adding Entity Framework 6 support to your project:

  • Call SentryDatabaseLogging.UseBreadcrumbs() to either your application's startup method, or into a static constructor inside your Entity Framework object. Make sure you only call this method once! This will add the interceptor to Entity Framework to log database queries.
  • When setting up your SentryClient, use SentryOptions.AddEntityFramework(). This extension method will register all error processors to extract extra data, such as validation errors, from the exceptions thrown by Entity Framework.

Samples

You can see it in action with a sample using ASP.NET MVC 5

Download it directly from GitHub or using NuGet:

Integrations NuGet
Sentry.EntityFramework NuGet