Class IApplicationBuilderExtensions
Extension methods upon Microsoft.AspNetCore.Builder.IApplicationBuilder.
public static class IApplicationBuilderExtensions
- Inheritance
-
objectIApplicationBuilderExtensions
Methods
InitKentico(IApplicationBuilder)
Initializes the Kentico application. Should be used only with the minimal hosting model.
public static IApplicationBuilder InitKentico(this IApplicationBuilder builder)
Parameters
builder
IApplicationBuilder
Returns
- IApplicationBuilder
The same Microsoft.AspNetCore.Builder.IApplicationBuilder instance so that multiple calls can be chained.
UseKenticoRequestLocalization(IApplicationBuilder)
Adds Kentico.Web.Mvc.KenticoRequestLocalizationMiddleware to the request pipeline.
public static void UseKenticoRequestLocalization(this IApplicationBuilder applicationBuilder)
Parameters
applicationBuilder
IApplicationBuilder