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
RequestResponse
public static class ApplicationBuilderExtensions : ObjectMethods
UseSitecoreRenderingEngine(IApplicationBuilder)
Registers the Sitecore Rendering Engine middleware into the Microsoft.AspNetCore.Builder.IApplicationBuilder.
Declaration
RequestResponse
public static IApplicationBuilder UseSitecoreRenderingEngine(this IApplicationBuilder app)Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Builder.IApplicationBuilder | app |
The instance of the to extend. |
Returns
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Builder.IApplicationBuilder |
The so that additional calls can be chained. |