ConfigurationValidationMiddleware Class

ConfigurationValidationMiddleware Class

Middleware class to be inserted into the request pipeline which validates Redakt CMS configuration. Renders a server error page when configuration issues are detected.

public class ConfigurationValidationMiddleware

Inheritance  Object ConfigurationValidationMiddleware

Constructors

Name Description
ConfigurationValidationMiddleware(RequestDelegate, ILogger<ConfigurationValidationMiddleware>, IRedaktSystem, IOptions<RedaktSystemOptions>) Default constructor. Services are injected by the IoC container.

Methods

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