A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class TemplatingCmsBuilderExtensions

Provides extension methods for Microsoft.Extensions.DependencyInjection.IServiceCollection to setup templating services for CMS.

Inheritance
System.Object
TemplatingCmsBuilderExtensions
Namespace: EPiServer.Web.Templating
Assembly: EPiServer.Cms.AspNetCore.Templating.dll
Version: 12.0.3
Syntax
public static class TemplatingCmsBuilderExtensions : Object

Methods

AddCmsTemplating(IServiceCollection)

Adds templating services for ASP.NET Core support for Episerver CMS.

Declaration
public static IServiceCollection AddCmsTemplating(this IServiceCollection services)
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection services

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add additional services to.

Returns
Type Description
Microsoft.Extensions.DependencyInjection.IServiceCollection

A reference to this instance after the operation has completed