Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore 10.0.0-preview.1.25120.3

Prefix Reserved
This is a prerelease version of Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.
dotnet add package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore --version 10.0.0-preview.1.25120.3                
NuGet\Install-Package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore -Version 10.0.0-preview.1.25120.3                
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="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="10.0.0-preview.1.25120.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore --version 10.0.0-preview.1.25120.3                
#r "nuget: Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore, 10.0.0-preview.1.25120.3"                
#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.
// Install Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore as a Cake Addin
#addin nuget:?package=Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore&version=10.0.0-preview.1.25120.3&prerelease

// Install Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore as a Cake Tool
#tool nuget:?package=Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore&version=10.0.0-preview.1.25120.3&prerelease                

About

Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore provides an ASP.NET Core middleware for EF Core error pages, allowing detection and diagnosis of errors with EF Core migrations.

Key Features

  • Captures and displays detailed error information from Entity Framework Core database operations
  • Helps developers diagnose and troubleshoot database-related issues in ASP.NET Core applications

How to Use

To use Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore, follow these steps:

Installation

dotnet add package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore

Configuration

To use the middleware, add it to the ASP.NET Core pipeline defined in your app's Program.cs:

builder.Services.AddDatabaseDeveloperPageExceptionFilter();

var app = builder.build();

if (app.Environment.IsDevelopment())
{
    app.UseDeveloperExceptionPage();
    app.UseMigrationsEndPoint();
}

Additional Documentation

For more information on using Entity Framework Core in ASP.NET Core applications, refer to the official documentation.

Feedback & Contributing

Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (153)

Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore:

Package Downloads
Microsoft.AspNetCore.App

Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.

Microsoft.AspNetCore.All

Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.

FenixAlliance.ACL.Dependencies

Application Component for the Alliance Business Suite.

Be.Vlaanderen.Basisregisters.Api

Common API infrastructure and helpers.

FenixAlliance.ABM.SDK

Application Component for the Alliance Business Suite.

GitHub repositories (160)

Showing the top 5 popular GitHub repositories that depend on Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore:

Repository Stars
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
jasontaylordev/CleanArchitecture
Clean Architecture Solution Template for ASP.NET Core
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
dotnet-architecture/eShopOnWeb
Sample ASP.NET Core 8.0 reference application, now community supported: https://github.com/NimblePros/eShopOnWeb
EduardoPires/EquinoxProject
Web Application ASP.NET 8 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices
Version Downloads Last updated
10.0.0-preview.1.25120.3 86 2/25/2025
9.0.2 38,482 2/11/2025
9.0.1 83,967 1/14/2025
9.0.0 275,997 11/12/2024
9.0.0-rc.2.24474.3 9,065 10/8/2024
9.0.0-rc.1.24452.1 4,245 9/10/2024
9.0.0-preview.7.24406.2 2,750 8/13/2024
9.0.0-preview.6.24328.4 39,291 7/9/2024
9.0.0-preview.5.24306.11 1,619 6/11/2024
9.0.0-preview.4.24267.6 1,341 5/21/2024
9.0.0-preview.3.24172.13 2,212 4/11/2024
9.0.0-preview.2.24128.4 2,388 3/12/2024
9.0.0-preview.1.24081.5 2,731 2/13/2024
8.0.13 24,060 2/11/2025
8.0.12 80,579 1/14/2025
8.0.11 441,669 11/12/2024
8.0.10 626,320 10/8/2024
8.0.8 1,019,127 8/13/2024
8.0.7 610,378 7/9/2024
8.0.6 771,468 5/28/2024
8.0.5 305,438 5/14/2024
8.0.4 989,637 4/9/2024
8.0.3 658,601 3/12/2024
8.0.2 749,330 2/13/2024
8.0.1 707,375 1/9/2024
8.0.0 981,269 11/14/2023
8.0.0-rc.2.23480.2 23,823 10/10/2023
8.0.0-rc.1.23421.29 11,402 9/12/2023
8.0.0-preview.7.23375.9 19,520 8/8/2023
8.0.0-preview.6.23329.11 7,929 7/11/2023
8.0.0-preview.5.23302.2 6,155 6/13/2023
8.0.0-preview.4.23260.4 4,119 5/16/2023
8.0.0-preview.3.23177.8 2,517 4/11/2023
8.0.0-preview.2.23153.2 88,586 3/14/2023
8.0.0-preview.1.23112.2 2,232 2/21/2023
7.0.20 53,129 5/28/2024
7.0.19 8,765 5/14/2024
7.0.18 24,215 4/9/2024
7.0.17 183,111 3/12/2024
7.0.16 139,248 2/13/2024
7.0.15 109,194 1/9/2024
7.0.14 230,693 11/14/2023
7.0.13 253,556 10/24/2023
7.0.12 260,335 10/10/2023
7.0.11 402,523 9/12/2023
7.0.10 430,324 8/8/2023
7.0.9 319,157 7/11/2023
7.0.8 273,732 6/22/2023
7.0.7 159,281 6/13/2023
7.0.5 1,022,609 4/11/2023
7.0.4 433,420 3/14/2023
7.0.3 578,453 2/14/2023
7.0.2 660,352 1/10/2023
7.0.1 211,532 12/13/2022
7.0.0 438,411 11/7/2022
7.0.0-rc.2.22476.2 32,514 10/11/2022
7.0.0-rc.1.22427.2 69,766 9/14/2022
7.0.0-preview.7.22376.6 5,406 8/9/2022
7.0.0-preview.6.22330.3 2,416 7/12/2022
7.0.0-preview.5.22303.8 2,759 6/14/2022
7.0.0-preview.4.22251.1 3,266 5/10/2022
7.0.0-preview.3.22178.4 2,817 4/13/2022
7.0.0-preview.2.22153.2 1,791 3/14/2022
7.0.0-preview.1.22109.13 1,619 2/17/2022
6.0.36 24,168 11/12/2024
6.0.35 14,375 10/8/2024
6.0.33 33,968 8/13/2024
6.0.32 29,401 7/9/2024
6.0.31 33,339 5/28/2024
6.0.30 18,695 5/14/2024
6.0.29 42,047 4/9/2024
6.0.28 36,147 3/12/2024
6.0.27 45,807 2/13/2024
6.0.26 82,246 1/9/2024
6.0.25 170,105 11/14/2023
6.0.24 58,542 10/24/2023
6.0.23 57,171 10/10/2023
6.0.22 137,112 9/12/2023
6.0.21 165,754 8/8/2023
6.0.20 152,838 7/11/2023
6.0.19 121,368 6/22/2023
6.0.18 94,281 6/13/2023
6.0.16 449,408 4/11/2023
6.0.15 224,938 3/14/2023
6.0.14 359,405 2/14/2023
6.0.13 367,949 1/10/2023
6.0.12 295,974 12/13/2022
6.0.11 624,364 11/7/2022
6.0.10 798,438 10/11/2022
6.0.9 643,612 9/13/2022
6.0.8 1,174,095 8/9/2022
6.0.7 1,360,174 7/12/2022
6.0.6 649,785 6/14/2022
6.0.5 1,614,916 5/10/2022
6.0.4 677,636 4/11/2022
6.0.3 1,101,150 3/8/2022
6.0.2 781,634 2/8/2022
6.0.1 1,286,253 12/14/2021
6.0.0 1,469,209 11/8/2021
6.0.0-rc.2.21480.10 45,417 10/12/2021
6.0.0-rc.1.21452.15 16,984 9/14/2021
6.0.0-preview.7.21378.6 13,153 8/10/2021
6.0.0-preview.6.21355.2 7,308 7/14/2021
6.0.0-preview.5.21301.17 7,245 6/15/2021
6.0.0-preview.4.21253.5 3,708 5/24/2021
6.0.0-preview.3.21201.13 4,360 4/8/2021
6.0.0-preview.2.21154.6 6,113 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21103.6 2,194 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 240,564 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 43,903 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 75,371 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 69,669 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 135,758 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 172,841 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 402,881 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 335,352 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 387,727 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 361,815 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 568,398 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 550,418 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 472,597 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 359,421 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 382,401 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 508,700 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 389,710 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 663,864 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 15,610 10/13/2020 5.0.0-rc.2.20475.17 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.17 9,458 9/14/2020 5.0.0-rc.1.20451.17 is deprecated because it is no longer maintained.
5.0.0-preview.8.20414.8 4,802 8/25/2020 5.0.0-preview.8.20414.8 is deprecated because it is no longer maintained.
5.0.0-preview.7.20365.19 4,717 7/21/2020 5.0.0-preview.7.20365.19 is deprecated because it is no longer maintained.
5.0.0-preview.6.20312.15 3,310 6/25/2020 5.0.0-preview.6.20312.15 is deprecated because it is no longer maintained.
5.0.0-preview.5.20279.2 1,555 6/10/2020 5.0.0-preview.5.20279.2 is deprecated because it is no longer maintained.
5.0.0-preview.4.20257.10 1,722 5/18/2020 5.0.0-preview.4.20257.10 is deprecated because it is no longer maintained.
5.0.0-preview.3.20215.14 1,807 4/23/2020 5.0.0-preview.3.20215.14 is deprecated because it is no longer maintained.
5.0.0-preview.2.20167.3 2,479 4/2/2020 5.0.0-preview.2.20167.3 is deprecated because it is no longer maintained.
5.0.0-preview.1.20124.5 2,938 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 84,388 12/13/2022
3.1.31 15,596 11/8/2022
3.1.30 9,489 10/11/2022
3.1.29 15,853 9/13/2022
3.1.28 28,208 8/9/2022
3.1.27 23,060 7/12/2022
3.1.26 22,940 6/14/2022
3.1.25 32,760 5/10/2022
3.1.24 20,306 4/11/2022
3.1.23 81,693 3/8/2022
3.1.22 122,294 12/14/2021
3.1.21 93,632 11/7/2021
3.1.20 63,388 10/11/2021
3.1.19 59,760 9/14/2021
3.1.18 170,973 8/10/2021
3.1.17 91,837 7/13/2021
3.1.16 105,828 6/8/2021
3.1.15 103,285 5/11/2021
3.1.14 104,859 4/6/2021
3.1.13 131,499 3/9/2021
3.1.12 277,267 2/9/2021
3.1.11 162,251 1/12/2021
3.1.10 387,848 11/9/2020
3.1.9 670,467 10/13/2020
3.1.8 799,539 9/8/2020
3.1.7 420,546 8/11/2020
3.1.6 801,285 7/14/2020
3.1.5 757,958 6/9/2020
3.1.4 454,973 5/12/2020
3.1.3 814,332 3/24/2020
3.1.2 545,258 2/18/2020
3.1.1 668,364 1/14/2020
3.1.0 1,013,635 12/3/2019
3.1.0-preview3.19555.2 9,545 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 3,101 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 3,356 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 12,103 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 9,190 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 761,761 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 14,072 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 15,222 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 8,846 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 11,760 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 13,800 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.
3.0.0-preview5-19227-01 8,665 5/6/2019 3.0.0-preview5-19227-01 is deprecated because it is no longer maintained.
3.0.0-preview4-19216-03 3,277 4/18/2019 3.0.0-preview4-19216-03 is deprecated because it is no longer maintained.
3.0.0-preview3-19153-02 4,150 3/6/2019 3.0.0-preview3-19153-02 is deprecated because it is no longer maintained.
3.0.0-preview-19075-0444 2,164 1/29/2019 3.0.0-preview-19075-0444 is deprecated because it is no longer maintained.
3.0.0-preview-18579-0056 3,100 12/3/2018 3.0.0-preview-18579-0056 is deprecated because it is no longer maintained.
2.3.0 304 1/14/2025
2.2.1 10,992,633 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 9,853,776 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 64,671 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 5,819 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 3,235 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 15,922,909 6/18/2018
2.1.0 3,257,589 5/29/2018
2.1.0-rc1-final 19,366 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 20,061 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 27,770 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.3 3,676,888 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 3,387,839 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 5,222,158 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 6,270,132 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 54,143 6/27/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 27,011 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 14,497 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 13,731 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 4,395 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.3 6,765 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 156,954 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 142,568 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 158,405 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 5,899 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 5,757 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 5,998 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 5,380 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 194,179 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 22,976 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 295,894 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 33,405 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.