PageMiddleware Class

PageMiddleware Class

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

public class PageMiddleware

Inheritance  Object PageMiddleware

Constructors

Name Description
PageMiddleware(RequestDelegate, ILogger<PageMiddleware>, IViewEngine, ITempDataProvider) Default constructor. Services are injected by the IoC container.

Methods

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