DatabaseErrorPageExtensions
UseDatabaseErrorPage(IApplicationBuilder)
UseDatabaseErrorPage(IApplicationBuilder, DatabaseErrorPageOptions)
net10.0
namespace Microsoft.AspNetCore.Builder
{
[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
{
[Obsolete("This is obsolete and will be removed in a future version. Use DatabaseDeveloperPageExceptionFilter instead, see documentation at https://aka.ms/DatabaseDeveloperPageExceptionFilter.")]
[RequiresDynamicCode("DbContext migrations operations are not supported with NativeAOT")]
public static IApplicationBuilder! UseDatabaseErrorPage(this IApplicationBuilder! app, DatabaseErrorPageOptions! options);
}
}
| .NET | 10.0 |
|---|---|
Information specific to net10.0 | |
| Assembly | Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore , Version=10.0.2.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore (10.0.2) net10.0 |
| Obsolete | This is obsolete and will be removed in a future version. Use DatabaseDeveloperPageExceptionFilter instead, see documentation at https://aka.ms/DatabaseDeveloperPageExceptionFilter. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API