DatabaseDeveloperPageExceptionFilterServiceExtensions Class

Definition

Service extension methods for the DatabaseDeveloperPageExceptionFilter.

public static class DatabaseDeveloperPageExceptionFilterServiceExtensions
type DatabaseDeveloperPageExceptionFilterServiceExtensions = class
Public Module DatabaseDeveloperPageExceptionFilterServiceExtensions
Inheritance
DatabaseDeveloperPageExceptionFilterServiceExtensions

Methods

AddDatabaseDeveloperPageExceptionFilter(IServiceCollection)

In combination with UseDeveloperExceptionPage, this 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.

Applies to