View Source
Class ApplicationBuilderExtensions
Microsoft.AspNetCore.Builder.IApplicationBuilder extensions for Umbraco
Inheritance
System.Object
Assembly: Umbraco.Web.Common.dll
Syntax
public static class ApplicationBuilderExtensions
Methods
View Source
UmbracoCanBoot(IApplicationBuilder)
Declaration
public static bool UmbracoCanBoot(this IApplicationBuilder app)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Builder.IApplicationBuilder |
app |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
UseUmbraco(IApplicationBuilder)
Configures and use services required for using Umbraco
Declaration
public static IUmbracoApplicationBuilder UseUmbraco(this IApplicationBuilder app)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Builder.IApplicationBuilder |
app |
|
Returns
View Source
UseUmbracoCore(IApplicationBuilder)
Enables core Umbraco functionality
Declaration
public static IApplicationBuilder UseUmbracoCore(this IApplicationBuilder app)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Builder.IApplicationBuilder |
app |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Builder.IApplicationBuilder |
|
View Source
UseUmbracoPluginsStaticFiles(IApplicationBuilder)
Allow static file access for App_Plugins folders
Declaration
public static IApplicationBuilder UseUmbracoPluginsStaticFiles(this IApplicationBuilder app)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Builder.IApplicationBuilder |
app |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Builder.IApplicationBuilder |
|
View Source
UseUmbracoRequestLogging(IApplicationBuilder)
Adds request based serilog enrichers to the LogContext for each request
Declaration
public static IApplicationBuilder UseUmbracoRequestLogging(this IApplicationBuilder app)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Builder.IApplicationBuilder |
app |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Builder.IApplicationBuilder |
|
View Source
UseUmbracoRouting(IApplicationBuilder)
Enables middlewares required to run Umbraco
Declaration
public static IApplicationBuilder UseUmbracoRouting(this IApplicationBuilder app)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Builder.IApplicationBuilder |
app |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Builder.IApplicationBuilder |
|