DatabaseErrorPageExtensions Class

Definition

Caution

This is obsolete and will be removed in a future version. Use DatabaseDeveloperPageExceptionFilter instead, see documentation at https://aka.ms/DatabaseDeveloperPageExceptionFilter.

public ref class DatabaseErrorPageExtensions abstract sealed
public static class DatabaseErrorPageExtensions
[System.Obsolete("This is obsolete and will be removed in a future version. Use DatabaseDeveloperPageExceptionFilter instead, see documentation at https://aka.ms/DatabaseDeveloperPageExceptionFilter.")]
public static class DatabaseErrorPageExtensions
type DatabaseErrorPageExtensions = class
[<System.Obsolete("This is obsolete and will be removed in a future version. Use DatabaseDeveloperPageExceptionFilter instead, see documentation at https://aka.ms/DatabaseDeveloperPageExceptionFilter.")>]
type DatabaseErrorPageExtensions = class
Public Module DatabaseErrorPageExtensions
Inheritance
DatabaseErrorPageExtensions
Attributes

Methods

UseDatabaseErrorPage(IApplicationBuilder)
Obsolete.

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.

UseDatabaseErrorPage(IApplicationBuilder, DatabaseErrorPageOptions)
Obsolete.

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.

Applies to