Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore Namespace

Contains types related to capturing and reporting diagnostics for Entity Framework Core in ASP.NET Core.

Classes

DatabaseDeveloperPageExceptionFilter

An IDeveloperPageExceptionFilter that captures database-related exceptions that can be resolved by using Entity Framework migrations. When these exceptions occur, an HTML response with details about possible actions to resolve the issue is generated.

DatabaseErrorPageMiddleware

Captures synchronous and asynchronous database related exceptions from the pipeline that may be resolved using Entity Framework migrations. When these exceptions occur an HTML response with details of possible actions to resolve the issue is generated.

MigrationsEndPointMiddleware

Processes requests to execute migrations operations. The middleware will listen for requests to the path configured in the supplied options.

Remarks

For more information about database error handling, see Database error page.