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

Prefix Reserved
This is a prerelease version of Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.
dotnet add package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore --version 10.0.0-preview.4.25255.103
                    
NuGet\Install-Package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore -Version 10.0.0-preview.4.25255.103
                    
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.4.25255.103" />
                    
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.4.25255.103" />
                    
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.4.25255.103
                    
#r "nuget: Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore, 10.0.0-preview.4.25255.103"
                    
#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.4.25255.103&prerelease
                    
Install Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore&version=10.0.0-preview.4.25255.103&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.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

GitHub repositories (164)

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.
microsoft/fluentui-blazor
Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
simplcommerce/SimplCommerce
A simple, cross platform, modulith ecommerce system built on .NET
skoruba/IdentityServer4.Admin
The administration for the IdentityServer4 and Asp.Net Core Identity
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.
DuendeSoftware/products
The most flexible and standards-compliant OpenID Connect and OAuth 2.x framework for ASP.NET Core
Version Downloads Last updated
10.0.0-preview.4.25255.103 0 5/12/2025
3.0.0-preview-19075-0444 2 1/28/2019
3.0.0-preview-18579-0056 1 11/30/2018
3.0.0-preview-18579-0053 2 11/30/2018