1. ApplicationBuilderExtensions

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.IApplicationBuilderapp

The instance of the to extend.

Returns
TypeDescription
Microsoft.AspNetCore.Builder.IApplicationBuilder

The so that additional calls can be chained.

If you have suggestions for improving this article, let us know!