Class ApplicationBuilderExtensions

Version: 21.x

Extension methods to support the Microsoft Microsoft.AspNetCore.Builder.IApplicationBuilder.

Inheritance

System.Object

ApplicationBuilderExtensions

Namespace: Sitecore.AspNet.RenderingEngine.Extensions

Assembly: Sitecore.AspNet.RenderingEngine.dll

Syntax
public static class ApplicationBuilderExtensions : Object

Methods

UseSitecoreRenderingEngine(IApplicationBuilder)

Registers the Sitecore Rendering Engine middleware into the Microsoft.AspNetCore.Builder.IApplicationBuilder.

Declaration
public static IApplicationBuilder UseSitecoreRenderingEngine(this IApplicationBuilder app)
Parameters
TypeNameDescription
Microsoft.AspNetCore.Builder.IApplicationBuilderappThe instance of the to extend.
Returns
TypeDescription
Microsoft.AspNetCore.Builder.IApplicationBuilderThe so that additional calls can be chained.
If you have suggestions for improving this article, let us know!