View Source
Class BootFailedMiddleware
Executes when Umbraco booting fails in order to show the problem.
Inheritance
System.Object
Assembly: Umbraco.Web.Common.dll
Syntax
public class BootFailedMiddleware : IMiddleware
Constructors
View Source
BootFailedMiddleware(IRuntimeState, Hosting.IHostingEnvironment)
Declaration
public BootFailedMiddleware(IRuntimeState runtimeState, Hosting.IHostingEnvironment hostingEnvironment)
Parameters
View Source
BootFailedMiddleware(IRuntimeState, Hosting.IHostingEnvironment, IWebHostEnvironment)
Declaration
public BootFailedMiddleware(IRuntimeState runtimeState, Hosting.IHostingEnvironment hostingEnvironment, IWebHostEnvironment webHostEnvironment)
Parameters
Type |
Name |
Description |
IRuntimeState |
runtimeState |
|
IHostingEnvironment |
hostingEnvironment |
|
Microsoft.AspNetCore.Hosting.IWebHostEnvironment |
webHostEnvironment |
|
Methods
View Source
InvokeAsync(HttpContext, RequestDelegate)
Declaration
public async Task InvokeAsync(HttpContext context, RequestDelegate next)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Http.HttpContext |
context |
|
Microsoft.AspNetCore.Http.RequestDelegate |
next |
|
Returns