Sentry.EntityFramework
0.0.1-preview1
Prefix Reserved
See the version list below for details.
dotnet add package Sentry.EntityFramework --version 0.0.1-preview1
NuGet\Install-Package Sentry.EntityFramework -Version 0.0.1-preview1
<PackageReference Include="Sentry.EntityFramework" Version="0.0.1-preview1" />
paket add Sentry.EntityFramework --version 0.0.1-preview1
#r "nuget: Sentry.EntityFramework, 0.0.1-preview1"
// Install Sentry.EntityFramework as a Cake Addin #addin nuget:?package=Sentry.EntityFramework&version=0.0.1-preview1&prerelease // Install Sentry.EntityFramework as a Cake Tool #tool nuget:?package=Sentry.EntityFramework&version=0.0.1-preview1&prerelease
Entity Framework 6 Integration for Sentry
This is packages extend Sentry's .NET SDK with Entity Framework 6 queries as Breadcrumbs.
It also processes DbEntityValidationException
s to extract the validation errors and add to the Extra field.
This increases the debuggability of Entity Framework related errors gratefully.
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
, useSentryOptions.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 | Versions 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. |
-
.NETFramework 4.6.2
- EntityFramework (>= 6.0.0)
- Sentry (>= 0.0.1-preview3)
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 |
---|---|---|
4.13.0 | 1,285 | 11/5/2024 |
4.12.2 | 340 | 11/2/2024 |
4.12.1 | 5,888 | 10/10/2024 |
4.12.1-segv1 | 64 | 11/1/2024 |
4.12.0 | 36,003 | 10/2/2024 |
4.11.0 | 3,733 | 9/22/2024 |
4.10.2 | 14,937 | 8/21/2024 |
4.10.1 | 1,930 | 8/16/2024 |
4.10.0 | 1,362 | 8/14/2024 |
4.9.0 | 21,487 | 7/11/2024 |
4.9.0-sync.collection.2 | 36 | 7/30/2024 |
4.9.0-sync.collection.1 | 38 | 7/30/2024 |
4.8.1 | 8,041 | 7/2/2024 |
4.8.0 | 2,679 | 6/26/2024 |
4.7.0 | 15,159 | 5/27/2024 |
4.6.2 | 21,226 | 5/14/2024 |
4.6.1 | 116 | 5/14/2024 |
4.6.0 | 3,354 | 5/9/2024 |
4.5.0 | 3,066 | 4/30/2024 |
4.4.0 | 10,611 | 4/12/2024 |
4.3.0 | 350 | 4/10/2024 |
4.2.1 | 7,450 | 3/12/2024 |
4.2.0 | 433 | 3/11/2024 |
4.1.2 | 13,113 | 2/20/2024 |
4.1.1 | 2,629 | 2/14/2024 |
4.1.0 | 16,110 | 2/9/2024 |
4.0.3 | 838 | 2/7/2024 |
4.0.2 | 229 | 2/6/2024 |
4.0.1 | 115 | 2/5/2024 |
4.0.0 | 1,409 | 2/1/2024 |
4.0.0-beta.9 | 65 | 1/30/2024 |
4.0.0-beta.8 | 93 | 1/11/2024 |
4.0.0-beta.7 | 85 | 1/5/2024 |
4.0.0-beta.6 | 173 | 12/13/2023 |
4.0.0-beta.5 | 72 | 12/12/2023 |
4.0.0-beta.4 | 90 | 12/5/2023 |
4.0.0-beta.3 | 75 | 12/2/2023 |
4.0.0-beta.2 | 97 | 11/23/2023 |
4.0.0-beta.1 | 69 | 11/19/2023 |
4.0.0-beta.0 | 68 | 11/17/2023 |
4.0.0-alpha.0 | 78 | 11/9/2023 |
3.41.4 | 7,730 | 1/23/2024 |
3.41.3 | 35,792 | 11/29/2023 |
3.41.2 | 1,250 | 11/23/2023 |
3.41.1 | 1,119 | 11/22/2023 |
3.41.0 | 6,896 | 11/8/2023 |
3.40.1 | 16,076 | 10/12/2023 |
3.40.0 | 1,488 | 10/10/2023 |
3.40.0-beta.0 | 88 | 9/21/2023 |
3.39.1 | 27,829 | 9/12/2023 |
3.39.0 | 1,799 | 9/7/2023 |
3.38.0 | 134 | 9/6/2023 |
3.37.0 | 158 | 9/6/2023 |
3.36.0 | 14,918 | 8/22/2023 |
3.35.1 | 1,552 | 8/16/2023 |
3.35.0 | 3,305 | 8/8/2023 |
3.34.0 | 13,574 | 7/13/2023 |
3.33.1 | 16,813 | 6/13/2023 |
3.33.0 | 15,360 | 5/22/2023 |
3.32.0 | 169 | 5/22/2023 |
3.31.0 | 13,046 | 5/2/2023 |
3.30.0 | 11,187 | 4/11/2023 |
3.29.1 | 20,747 | 3/11/2023 |
3.29.0 | 22,470 | 3/6/2023 |
3.28.1 | 11,311 | 2/10/2023 |
3.28.0 | 1,387 | 2/8/2023 |
3.27.1 | 4,558 | 2/3/2023 |
3.27.0 | 5,190 | 2/1/2023 |
3.26.2 | 18,495 | 1/24/2023 |
3.26.1 | 4,748 | 1/17/2023 |
3.26.0 | 18,099 | 1/13/2023 |
3.25.0 | 9,888 | 12/23/2022 |
3.24.1 | 8,775 | 12/16/2022 |
3.24.0 | 16,294 | 11/18/2022 |
3.23.1 | 15,828 | 10/31/2022 |
3.23.0 | 541 | 10/27/2022 |
3.22.0 | 9,764 | 10/7/2022 |
3.21.0 | 19,212 | 9/2/2022 |
3.20.1 | 14,764 | 7/26/2022 |
3.20.0 | 927 | 7/22/2022 |
3.19.0 | 8,844 | 6/28/2022 |
3.18.0 | 14,057 | 6/15/2022 |
3.17.1 | 10,845 | 5/8/2022 |
3.17.0 | 9,964 | 5/3/2022 |
3.16.0 | 16,188 | 4/7/2022 |
3.15.0 | 16,240 | 3/15/2022 |
3.14.1 | 83,671 | 2/18/2022 |
3.14.0 | 5,457 | 2/14/2022 |
3.13.0 | 16,387 | 1/11/2022 |
3.12.3 | 35,744 | 12/19/2021 |
3.12.2 | 1,159 | 12/15/2021 |
3.12.1 | 2,477 | 12/6/2021 |
3.12.0 | 6,705 | 11/23/2021 |
3.12.0-alpha.1 | 200 | 11/7/2021 |
3.11.1 | 4,134 | 11/5/2021 |
3.11.0 | 1,115 | 11/2/2021 |
3.10.0 | 12,080 | 10/15/2021 |
3.9.4 | 4,977 | 9/29/2021 |
3.9.3 | 3,589 | 9/21/2021 |
3.9.2 | 11,317 | 9/10/2021 |
3.9.1 | 422 | 9/9/2021 |
3.9.0 | 2,623 | 8/27/2021 |
3.8.3 | 11,162 | 7/25/2021 |
3.8.2 | 523 | 7/17/2021 |
3.8.1 | 358 | 7/15/2021 |
3.8.0 | 484 | 7/14/2021 |
3.7.0 | 936 | 7/10/2021 |
3.6.1 | 921 | 7/2/2021 |
3.6.0 | 1,014 | 6/23/2021 |
3.6.0-alpha.2 | 162 | 6/18/2021 |
3.6.0-alpha.1 | 157 | 6/11/2021 |
3.5.0 | 5,227 | 6/7/2021 |
3.4.0 | 809 | 5/31/2021 |
3.0.3 | 21,745 | 2/6/2021 |
2.1.6 | 35,457 | 10/23/2020 |
1.0.0 | 97,004 | 1/4/2019 |
0.0.1-preview2 | 4,999 | 7/30/2018 |
0.0.1-preview1 | 694 | 7/19/2018 |
Can be found at: https://github.com/getsentry/sentry-dotnet-ef/releases