Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out 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