DatabaseErrorPageExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This is obsolete and will be removed in a future version. Use DatabaseDeveloperPageExceptionFilter instead, see documentation at https://aka.ms/DatabaseDeveloperPageExceptionFilter.
IApplicationBuilder extension methods for the DatabaseErrorPageMiddleware.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for