Middleware class to be inserted into the request pipeline which handles Redakt CMS page requests.

public class PageMiddleware
Inheritance:
ObjectPageMiddleware

Constructors

PageMiddleware(RequestDelegate, IViewService, IViewEngine, ITempDataProvider, IAuthorizationPolicyProvider, IRedaktSystem) Default constructor. Services are injected by the IoC container.

Methods

Invoke(HttpContext, IRedaktContext) Invokes middleware request processing. Called by the ASP.NET request pipeline.