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

Prefix Reserved
This is a prerelease version of Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore --version 10.0.0-preview.2.25164.1
                    
NuGet\Install-Package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore -Version 10.0.0-preview.2.25164.1
                    
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.2.25164.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="10.0.0-preview.2.25164.1" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" />
                    
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 Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore --version 10.0.0-preview.2.25164.1
                    
#r "nuget: Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore, 10.0.0-preview.2.25164.1"
                    
#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=Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore&version=10.0.0-preview.2.25164.1&prerelease
                    
Install Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore&version=10.0.0-preview.2.25164.1&prerelease
                    
Install Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore as a Cake Tool

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 (157)

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 (165)

Showing the top 20 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 9 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices
ant-design-blazor/ant-design-blazor
🌈A rich set of enterprise-class UI components based on Ant Design and Blazor.
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
jasontaylordev/NorthwindTraders
Northwind Traders is a sample application built using ASP.NET Core and Entity Framework Core.
immense/Remotely
A remote control and remote scripting solution, built with .NET 8, Blazor, and SignalR.
simplcommerce/SimplCommerce
A simple, cross platform, modulith ecommerce system built on .NET
microsoft/fluentui-blazor
Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
skoruba/IdentityServer4.Admin
The administration for the IdentityServer4 and Asp.Net Core Identity
dotnet-presentations/blazor-workshop
Blazor workshop
dotnet/sdk
Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
dotnetcore/osharp
OSharp是一个基于.Net6.0的快速开发框架,框架对 AspNetCore 的配置、依赖注入、日志、缓存、实体框架、Mvc(WebApi)、身份认证、功能权限、数据权限等模块进行更高一级的自动化封装,并规范了一套业务实现的代码结构与操作流程,使 .Net 框架更易于应用到实际项目开发中。
vietnam-devs/coolstore-microservices
A full-stack .NET microservices build on Dapr and Tye
aspnet/Identity
[Archived] ASP.NET Core Identity is the membership system for building ASP.NET Core web applications, including membership, login, and user data. Project moved to https://github.com/aspnet/AspNetCore
microsoft/WhatTheHack
A collection of challenge based hack-a-thons including student guide, coach guide, lecture presentations, sample/instructional code and templates. Please visit the What The Hack website at: https://aka.ms/wth
ivaylokenov/MyTested.AspNetCore.Mvc
Fluent testing library for ASP.NET Core MVC.
Webreaper/Damselfly
Damselfly is a server-based Photograph Management app. The goal of Damselfly is to index an extremely large collection of images, and allow easy search and retrieval of those images, using metadata such as the IPTC keyword tags, as well as the folder and file names. Damselfly includes support for object/face detection.
Version Downloads Last updated
10.0.0-preview.3.25172.1 459 4/10/2025
10.0.0-preview.2.25164.1 928 3/18/2025
10.0.0-preview.1.25120.3 1,049 2/25/2025
9.0.4 22,987 4/8/2025
9.0.3 112,217 3/11/2025
9.0.2 177,065 2/11/2025
9.0.1 175,640 1/14/2025
9.0.0 383,547 11/12/2024
9.0.0-rc.2.24474.3 11,348 10/8/2024
9.0.0-rc.1.24452.1 4,388 9/10/2024
9.0.0-preview.7.24406.2 2,881 8/13/2024
9.0.0-preview.6.24328.4 72,391 7/9/2024
9.0.0-preview.5.24306.11 1,726 6/11/2024
9.0.0-preview.4.24267.6 1,380 5/21/2024
9.0.0-preview.3.24172.13 2,434 4/11/2024
9.0.0-preview.2.24128.4 2,454 3/12/2024
9.0.0-preview.1.24081.5 2,892 2/13/2024
8.0.15 16,580 4/8/2025
8.0.14 134,168 3/11/2025
8.0.13 121,361 2/11/2025
8.0.12 185,595 1/14/2025
8.0.11 681,711 11/12/2024
8.0.10 795,413 10/8/2024
8.0.8 1,198,554 8/13/2024
8.0.7 702,769 7/9/2024
8.0.6 865,747 5/28/2024
8.0.5 339,027 5/14/2024
8.0.4 1,165,554 4/9/2024
8.0.3 719,526 3/12/2024
8.0.2 825,401 2/13/2024
8.0.1 752,931 1/9/2024
8.0.0 1,053,536 11/14/2023
8.0.0-rc.2.23480.2 24,278 10/10/2023
8.0.0-rc.1.23421.29 11,611 9/12/2023
8.0.0-preview.7.23375.9 19,752 8/8/2023
8.0.0-preview.6.23329.11 7,980 7/11/2023
8.0.0-preview.5.23302.2 6,195 6/13/2023
8.0.0-preview.4.23260.4 4,204 5/16/2023
8.0.0-preview.3.23177.8 2,549 4/11/2023
8.0.0-preview.2.23153.2 89,164 3/14/2023
8.0.0-preview.1.23112.2 2,344 2/21/2023
7.0.20 62,466 5/28/2024
7.0.19 11,043 5/14/2024
7.0.18 26,662 4/9/2024
7.0.17 185,303 3/12/2024
7.0.16 150,948 2/13/2024
7.0.15 111,388 1/9/2024
7.0.14 236,176 11/14/2023
7.0.13 261,967 10/24/2023
7.0.12 266,677 10/10/2023
7.0.11 410,094 9/12/2023
7.0.10 437,260 8/8/2023
7.0.9 330,346 7/11/2023
7.0.8 281,438 6/22/2023
7.0.7 164,965 6/13/2023
7.0.5 1,036,207 4/11/2023
7.0.4 440,119 3/14/2023
7.0.3 588,198 2/14/2023
7.0.2 697,175 1/10/2023
7.0.1 215,674 12/13/2022
7.0.0 447,615 11/7/2022
7.0.0-rc.2.22476.2 33,124 10/11/2022
7.0.0-rc.1.22427.2 70,106 9/14/2022
7.0.0-preview.7.22376.6 5,629 8/9/2022
7.0.0-preview.6.22330.3 2,454 7/12/2022
7.0.0-preview.5.22303.8 2,955 6/14/2022
7.0.0-preview.4.22251.1 3,438 5/10/2022
7.0.0-preview.3.22178.4 2,893 4/13/2022
7.0.0-preview.2.22153.2 1,818 3/14/2022
7.0.0-preview.1.22109.13 1,659 2/17/2022
6.0.36 38,967 11/12/2024
6.0.35 23,906 10/8/2024
6.0.33 39,863 8/13/2024
6.0.32 32,867 7/9/2024
6.0.31 36,265 5/28/2024
6.0.30 19,697 5/14/2024
6.0.29 46,991 4/9/2024
6.0.28 38,530 3/12/2024
6.0.27 47,631 2/13/2024
6.0.26 86,067 1/9/2024
6.0.25 178,392 11/14/2023
6.0.24 60,803 10/24/2023
6.0.23 60,535 10/10/2023
6.0.22 143,413 9/12/2023
6.0.21 171,696 8/8/2023
6.0.20 159,861 7/11/2023
6.0.19 124,445 6/22/2023
6.0.18 101,292 6/13/2023
6.0.16 465,332 4/11/2023
6.0.15 230,022 3/14/2023
6.0.14 365,213 2/14/2023
6.0.13 379,239 1/10/2023
6.0.12 299,803 12/13/2022
6.0.11 632,456 11/7/2022
6.0.10 813,079 10/11/2022
6.0.9 654,592 9/13/2022
6.0.8 1,193,542 8/9/2022
6.0.7 1,404,766 7/12/2022
6.0.6 662,226 6/14/2022
6.0.5 1,645,623 5/10/2022
6.0.4 685,407 4/11/2022
6.0.3 1,112,252 3/8/2022
6.0.2 791,620 2/8/2022
6.0.1 1,336,239 12/14/2021
6.0.0 1,510,873 11/8/2021
6.0.0-rc.2.21480.10 46,009 10/12/2021
6.0.0-rc.1.21452.15 17,105 9/14/2021
6.0.0-preview.7.21378.6 13,367 8/10/2021
6.0.0-preview.6.21355.2 7,355 7/14/2021
6.0.0-preview.5.21301.17 7,284 6/15/2021
6.0.0-preview.4.21253.5 3,741 5/24/2021
6.0.0-preview.3.21201.13 4,466 4/8/2021
6.0.0-preview.2.21154.6 6,165 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,244 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 246,400 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 44,447 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 76,041 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 70,656 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 136,877 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 175,218 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 408,910 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 338,340 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 390,515 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 365,117 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 571,792 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 552,579 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 476,709 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 362,353 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 384,734 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 512,253 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 392,121 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 667,677 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 15,977 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,513 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,860 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,773 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,369 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,603 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,775 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,863 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,558 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,987 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 90,779 12/13/2022
3.1.31 16,267 11/8/2022
3.1.30 9,757 10/11/2022
3.1.29 16,351 9/13/2022
3.1.28 28,542 8/9/2022
3.1.27 23,249 7/12/2022
3.1.26 23,491 6/14/2022
3.1.25 33,682 5/10/2022
3.1.24 20,684 4/11/2022
3.1.23 83,838 3/8/2022
3.1.22 123,582 12/14/2021
3.1.21 95,076 11/7/2021
3.1.20 63,610 10/11/2021
3.1.19 60,052 9/14/2021
3.1.18 172,787 8/10/2021
3.1.17 92,571 7/13/2021
3.1.16 106,973 6/8/2021
3.1.15 104,625 5/11/2021
3.1.14 105,520 4/6/2021
3.1.13 132,509 3/9/2021
3.1.12 278,534 2/9/2021
3.1.11 166,213 1/12/2021
3.1.10 389,867 11/9/2020
3.1.9 673,917 10/13/2020
3.1.8 803,641 9/8/2020
3.1.7 423,523 8/11/2020
3.1.6 808,212 7/14/2020
3.1.5 763,866 6/9/2020
3.1.4 458,063 5/12/2020
3.1.3 820,317 3/24/2020
3.1.2 549,706 2/18/2020
3.1.1 671,582 1/14/2020
3.1.0 1,022,648 12/3/2019
3.1.0-preview3.19555.2 9,627 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 3,222 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 3,420 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 12,433 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 9,260 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 765,950 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 14,151 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 15,303 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 8,907 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 11,933 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 13,866 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.
3.0.0-preview5-19227-01 8,723 5/6/2019 3.0.0-preview5-19227-01 is deprecated because it is no longer maintained.
3.0.0-preview4-19216-03 3,370 4/18/2019 3.0.0-preview4-19216-03 is deprecated because it is no longer maintained.
3.0.0-preview3-19153-02 4,216 3/6/2019 3.0.0-preview3-19153-02 is deprecated because it is no longer maintained.
3.0.0-preview-19075-0444 2,222 1/29/2019 3.0.0-preview-19075-0444 is deprecated because it is no longer maintained.
3.0.0-preview-18579-0056 3,159 12/3/2018 3.0.0-preview-18579-0056 is deprecated because it is no longer maintained.
2.3.0 645 1/14/2025
2.2.1 11,051,126 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 9,987,032 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 64,867 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 5,908 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 3,326 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 16,248,028 6/18/2018
2.1.0 3,268,307 5/29/2018
2.1.0-rc1-final 19,525 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 20,189 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 27,920 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.3 3,714,425 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 3,412,898 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 5,266,259 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 6,305,414 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 54,470 6/27/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 27,126 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 15,253 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 13,954 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 4,516 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.3 6,886 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 157,643 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 143,535 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 158,617 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 6,011 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 5,922 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 6,187 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 5,504 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 195,771 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 23,127 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 303,956 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 33,511 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.