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 : Object

Methods

UseSitecoreRenderingEngine(IApplicationBuilder)

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

Declaration
RequestResponse
public static IApplicationBuilder UseSitecoreRenderingEngine(this IApplicationBuilder app)
Parameters
TypeNameDescription
Microsoft.AspNetCore.Builder.IApplicationBuilderapp

The instance of the to extend.

Returns
TypeDescription
Microsoft.AspNetCore.Builder.IApplicationBuilder

The so that additional calls can be chained.

Do you have some feedback for us?

If you have suggestions for improving this article,