Class WebApplicationExtensions
Extension methods for Microsoft.AspNetCore.Builder.WebApplication.
Inheritance
object
Namespace: Umbraco.Extensions
Assembly: Umbraco.Web.Common.dll
Syntax
public static class WebApplicationExtensions
Methods
View SourceBootUmbracoAsync(WebApplication)
Starts the IRuntime to ensure Umbraco is ready for middleware to be added.
Declaration
public static Task BootUmbracoAsync(this WebApplication app)
Parameters
| Type | Name | Description |
|---|---|---|
| WebApplication | app | The application. |
Returns
| Type | Description |
|---|---|
| Task | A System.Threading.Tasks.Task representing the asynchronous operation. |