SaaS CMS has officially launched! Learn more now.

Class ContentController<T>

Provides the base implementation for for content controllers.

Inheritance
System.Object
ContentController<T>
Namespace: EPiServer.Web.Mvc
Assembly: EPiServer.dll
Version: 7.19.2
Syntax
[VisitorGroupImpersonation]
[AuthorizeContent]
public abstract class ContentController<T> : ActionControllerBase, IRenderTemplate<T>, IRenderTemplate where T : IContent
Type Parameters
Name Description
T
Remarks

The ContentController class is small, containing only a few methods and properties for handling three basic tasks:

  • Support for access checks.
  • Support for handling actions that are not available in the controller.
  • Setting up the capability of impersonating visitor groups.

Constructors

ContentController()

Declaration
protected ContentController()

Implements

Extension Methods