Sentry.EntityFramework 0.0.1-preview2

Prefix Reserved
This is a prerelease version of Sentry.EntityFramework.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Sentry.EntityFramework --version 0.0.1-preview2
                    
NuGet\Install-Package Sentry.EntityFramework -Version 0.0.1-preview2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sentry.EntityFramework" Version="0.0.1-preview2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sentry.EntityFramework" Version="0.0.1-preview2" />
                    
Directory.Packages.props
<PackageReference Include="Sentry.EntityFramework" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Sentry.EntityFramework --version 0.0.1-preview2
                    
#r "nuget: Sentry.EntityFramework, 0.0.1-preview2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Sentry.EntityFramework&version=0.0.1-preview2&prerelease
                    
Install Sentry.EntityFramework as a Cake Addin
#tool nuget:?package=Sentry.EntityFramework&version=0.0.1-preview2&prerelease
                    
Install Sentry.EntityFramework as a Cake Tool

Entity Framework 6 Integration for Sentry

This is packages extend 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

Product Compatible and additional computed target framework versions.
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Sentry.EntityFramework:

Repository Stars
getsentry/examples
Collection of all different kinds of Sentry SDKs and integrations
Version Downloads Last updated
5.9.0 81 a day ago
5.8.2-beta.1 104 2 days ago
5.8.1 399 4 days ago
5.8.0 1,126 10 days ago
5.8.0-alpha.0 108 10 days ago
5.7.0 1,475 18 days ago
5.7.0-beta.0 40 a month ago
5.6.0 2,572 a month ago
5.5.1 2,359 2 months ago
5.5.0 1,272 2 months ago
5.4.0 2,709 3 months ago
5.3.0 2,190 3 months ago
5.2.0 1,868 3 months ago
5.1.1 73,110 4 months ago
5.1.0 3,320 4 months ago
5.0.1 15,620 5 months ago
5.0.0 3,879 5 months ago
5.0.0-alpha.1 71 6 months ago
5.0.0-alpha.0 56 6 months ago
4.13.0 33,005 7 months ago
4.12.2 785 7 months ago
4.12.1 25,735 8 months ago
4.12.1-segv1 93 7 months ago
4.12.0 123,221 8 months ago
4.11.0 7,073 8 months ago
4.10.2 28,931 9 months ago
4.10.1 3,194 10 months ago
4.10.0 1,939 10 months ago
4.9.0 36,421 7/11/2024
4.9.0-sync.collection.2 53 7/30/2024
4.9.0-sync.collection.1 53 7/30/2024
4.8.1 15,431 7/2/2024
4.8.0 6,576 6/26/2024
4.7.0 17,622 5/27/2024
4.6.2 44,641 5/14/2024
4.6.1 142 5/14/2024
4.6.0 5,010 5/9/2024
4.5.0 3,525 4/30/2024
4.4.0 14,402 4/12/2024
4.3.0 384 4/10/2024
4.2.1 10,327 3/12/2024
4.2.0 468 3/11/2024
4.1.2 14,042 2/20/2024
4.1.1 2,901 2/14/2024
4.1.0 16,563 2/9/2024
4.0.3 920 2/7/2024
4.0.2 252 2/6/2024
4.0.1 140 2/5/2024
4.0.0 2,122 2/1/2024
4.0.0-beta.9 75 1/30/2024
4.0.0-beta.8 104 1/11/2024
4.0.0-beta.7 96 1/5/2024
4.0.0-beta.6 182 12/13/2023
4.0.0-beta.5 82 12/12/2023
4.0.0-beta.4 101 12/5/2023
4.0.0-beta.3 86 12/2/2023
4.0.0-beta.2 108 11/23/2023
4.0.0-beta.1 78 11/19/2023
4.0.0-beta.0 81 11/17/2023
4.0.0-alpha.0 88 11/9/2023
3.41.4 12,906 1/23/2024
3.41.3 46,667 11/29/2023
3.41.2 1,547 11/23/2023
3.41.1 1,133 11/22/2023
3.41.0 7,148 11/8/2023
3.40.1 18,205 10/12/2023
3.40.0 1,765 10/10/2023
3.40.0-beta.0 99 9/21/2023
3.39.1 32,339 9/12/2023
3.39.0 2,218 9/7/2023
3.38.0 150 9/6/2023
3.37.0 174 9/6/2023
3.36.0 21,313 8/22/2023
3.35.1 1,973 8/16/2023
3.35.0 3,360 8/8/2023
3.34.0 20,741 7/13/2023
3.33.1 17,298 6/13/2023
3.33.0 20,045 5/22/2023
3.32.0 192 5/22/2023
3.31.0 13,389 5/2/2023
3.30.0 11,762 4/11/2023
3.29.1 21,613 3/11/2023
3.29.0 25,822 3/6/2023
3.28.1 11,441 2/10/2023
3.28.0 1,417 2/8/2023
3.27.1 9,193 2/3/2023
3.27.0 5,356 2/1/2023
3.26.2 19,676 1/24/2023
3.26.1 4,826 1/17/2023
3.26.0 18,132 1/13/2023
3.25.0 12,215 12/23/2022
3.24.1 9,334 12/16/2022
3.24.0 16,930 11/18/2022
3.23.1 15,938 10/31/2022
3.23.0 569 10/27/2022
3.22.0 12,827 10/7/2022
3.21.0 19,611 9/2/2022
3.20.1 15,256 7/26/2022
3.20.0 978 7/22/2022
3.19.0 9,087 6/28/2022
3.18.0 15,613 6/15/2022
3.17.1 11,712 5/8/2022
3.17.0 10,413 5/3/2022
3.16.0 17,371 4/7/2022
3.15.0 17,620 3/15/2022
3.14.1 86,761 2/18/2022
3.14.0 5,546 2/14/2022
3.13.0 16,726 1/11/2022
3.12.3 39,600 12/19/2021
3.12.2 1,201 12/15/2021
3.12.1 2,525 12/6/2021
3.12.0 6,779 11/23/2021
3.12.0-alpha.1 241 11/7/2021
3.11.1 4,423 11/5/2021
3.11.0 1,313 11/2/2021
3.10.0 12,741 10/15/2021
3.9.4 5,786 9/29/2021
3.9.3 3,647 9/21/2021
3.9.2 11,371 9/10/2021
3.9.1 466 9/9/2021
3.9.0 2,676 8/27/2021
3.8.3 13,537 7/25/2021
3.8.2 566 7/17/2021
3.8.1 399 7/15/2021
3.8.0 528 7/14/2021
3.7.0 978 7/10/2021
3.6.1 998 7/2/2021
3.6.0 1,089 6/23/2021
3.6.0-alpha.2 198 6/18/2021
3.6.0-alpha.1 195 6/11/2021
3.5.0 5,435 6/7/2021
3.4.0 991 5/31/2021
3.0.3 23,278 2/6/2021
2.1.6 42,608 10/23/2020
1.0.0 105,012 1/4/2019
0.0.1-preview2 5,612 7/30/2018
0.0.1-preview1 801 7/19/2018