Table of Contents

Class OpenSettingsSpaMiddleware

Namespace
OpenSettings.AspNetCore.Spa
Assembly
OpenSettings.AspNetCore.Spa.dll

Middleware responsible for serving static files for the Open Settings Spa.

public class OpenSettingsSpaMiddleware
Inheritance
OpenSettingsSpaMiddleware
Inherited Members

Constructors

OpenSettingsSpaMiddleware(RequestDelegate, OpenSettingsMemoryCache, OpenSettingsConfiguration, ProviderInfo, IHostingEnvironment, ILoggerFactory)

Initializes a new instance of the OpenSettingsSpaMiddleware class.

public OpenSettingsSpaMiddleware(RequestDelegate requestDelegate, OpenSettingsMemoryCache openSettingsMemoryCache, OpenSettingsConfiguration openSettingsConfiguration, ProviderInfo providerInfo, IHostingEnvironment hostingEnv, ILoggerFactory loggerFactory)

Parameters

requestDelegate RequestDelegate

The request delegate.

openSettingsMemoryCache OpenSettingsMemoryCache

In-memory cache for Open Settings.

openSettingsConfiguration OpenSettingsConfiguration

Configuration for Open Settings.

providerInfo ProviderInfo

Provider information.

hostingEnv IHostingEnvironment

Web hosting environment.

loggerFactory ILoggerFactory

Factory for creating loggers.

Methods

Invoke(HttpContext)

public Task Invoke(HttpContext httpContext)

Parameters

httpContext HttpContext

Returns

Task