Table of Contents

Class IApplicationBuilderExtensions

Namespace
Kentico.Content.Web.Mvc
Assembly
Kentico.Content.Web.Mvc.dll

Extension methods upon Microsoft.AspNetCore.Builder.IApplicationBuilder.

public static class IApplicationBuilderExtensions
Inheritance
object
IApplicationBuilderExtensions

Methods

UseContentOutputFilter(IApplicationBuilder)

Inserts middlewares to the pipeline which takes responsibility for modifying HTML response for example to decorate various links with virtual context when page is being rendered in the preview mode.

public static void UseContentOutputFilter(this IApplicationBuilder applicationBuilder)

Parameters

applicationBuilder IApplicationBuilder

UseRoutingRedirectionMiddleware(IApplicationBuilder)

Inserts middlewares to the pipeline which takes responsibility for redirecting a request after the routing for example in case URL needs to have casing fixed.

public static void UseRoutingRedirectionMiddleware(this IApplicationBuilder applicationBuilder)

Parameters

applicationBuilder IApplicationBuilder

UseWebsiteChannelContextMiddleware(IApplicationBuilder)

Inserts middleware to the pipeline which takes responsibility for populating the IWebsiteChannelContext.

public static void UseWebsiteChannelContextMiddleware(this IApplicationBuilder applicationBuilder)

Parameters

applicationBuilder IApplicationBuilder