Dela via


IISMiddleware Constructors

Definition

Overloads

IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String)
IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String, IAuthenticationSchemeProvider, IApplicationLifetime)
IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String, IAuthenticationSchemeProvider, IHostApplicationLifetime)

The middleware that enables IIS Out-Of-Process to work.

IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String, Boolean, IAuthenticationSchemeProvider, IApplicationLifetime)
IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String, Boolean, IAuthenticationSchemeProvider, IHostApplicationLifetime)

The middleware that enables IIS Out-Of-Process to work.

IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String)

public:
 IISMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::IISOptions ^> ^ options, System::String ^ pairingToken);
public IISMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> options, string pairingToken);
new Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> * string -> Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware
Public Sub New (next As RequestDelegate, loggerFactory As ILoggerFactory, options As IOptions(Of IISOptions), pairingToken As String)

Parameters

loggerFactory
ILoggerFactory
options
IOptions<IISOptions>
pairingToken
String

Applies to

IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String, IAuthenticationSchemeProvider, IApplicationLifetime)

Source:
IISMiddleware.cs
public:
 IISMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::IISOptions ^> ^ options, System::String ^ pairingToken, Microsoft::AspNetCore::Authentication::IAuthenticationSchemeProvider ^ authentication, Microsoft::AspNetCore::Hosting::IApplicationLifetime ^ applicationLifetime);
public IISMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> options, string pairingToken, Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider authentication, Microsoft.AspNetCore.Hosting.IApplicationLifetime applicationLifetime);
new Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> * string * Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider * Microsoft.AspNetCore.Hosting.IApplicationLifetime -> Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware
Public Sub New (next As RequestDelegate, loggerFactory As ILoggerFactory, options As IOptions(Of IISOptions), pairingToken As String, authentication As IAuthenticationSchemeProvider, applicationLifetime As IApplicationLifetime)

Parameters

loggerFactory
ILoggerFactory
options
IOptions<IISOptions>
pairingToken
String
applicationLifetime
IApplicationLifetime

Applies to

IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String, IAuthenticationSchemeProvider, IHostApplicationLifetime)

Source:
IISMiddleware.cs

The middleware that enables IIS Out-Of-Process to work.

public:
 IISMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::IISOptions ^> ^ options, System::String ^ pairingToken, Microsoft::AspNetCore::Authentication::IAuthenticationSchemeProvider ^ authentication, Microsoft::Extensions::Hosting::IHostApplicationLifetime ^ applicationLifetime);
public IISMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> options, string pairingToken, Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider authentication, Microsoft.Extensions.Hosting.IHostApplicationLifetime applicationLifetime);
new Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> * string * Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider * Microsoft.Extensions.Hosting.IHostApplicationLifetime -> Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware
Public Sub New (next As RequestDelegate, loggerFactory As ILoggerFactory, options As IOptions(Of IISOptions), pairingToken As String, authentication As IAuthenticationSchemeProvider, applicationLifetime As IHostApplicationLifetime)

Parameters

next
RequestDelegate

The next middleware in the pipeline.

loggerFactory
ILoggerFactory

The ILoggerFactory.

options
IOptions<IISOptions>

The configuration for this middleware.

pairingToken
String

A token used to coordinate with the ASP.NET Core Module.

Applies to

IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String, Boolean, IAuthenticationSchemeProvider, IApplicationLifetime)

Source:
IISMiddleware.cs
public:
 IISMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::IISOptions ^> ^ options, System::String ^ pairingToken, bool isWebsocketsSupported, Microsoft::AspNetCore::Authentication::IAuthenticationSchemeProvider ^ authentication, Microsoft::AspNetCore::Hosting::IApplicationLifetime ^ applicationLifetime);
public IISMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> options, string pairingToken, bool isWebsocketsSupported, Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider authentication, Microsoft.AspNetCore.Hosting.IApplicationLifetime applicationLifetime);
new Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> * string * bool * Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider * Microsoft.AspNetCore.Hosting.IApplicationLifetime -> Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware
Public Sub New (next As RequestDelegate, loggerFactory As ILoggerFactory, options As IOptions(Of IISOptions), pairingToken As String, isWebsocketsSupported As Boolean, authentication As IAuthenticationSchemeProvider, applicationLifetime As IApplicationLifetime)

Parameters

loggerFactory
ILoggerFactory
options
IOptions<IISOptions>
pairingToken
String
isWebsocketsSupported
Boolean
applicationLifetime
IApplicationLifetime

Applies to

IISMiddleware(RequestDelegate, ILoggerFactory, IOptions<IISOptions>, String, Boolean, IAuthenticationSchemeProvider, IHostApplicationLifetime)

Source:
IISMiddleware.cs

The middleware that enables IIS Out-Of-Process to work.

public:
 IISMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::IISOptions ^> ^ options, System::String ^ pairingToken, bool isWebsocketsSupported, Microsoft::AspNetCore::Authentication::IAuthenticationSchemeProvider ^ authentication, Microsoft::Extensions::Hosting::IHostApplicationLifetime ^ applicationLifetime);
public IISMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> options, string pairingToken, bool isWebsocketsSupported, Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider authentication, Microsoft.Extensions.Hosting.IHostApplicationLifetime applicationLifetime);
new Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.IISOptions> * string * bool * Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider * Microsoft.Extensions.Hosting.IHostApplicationLifetime -> Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware
Public Sub New (next As RequestDelegate, loggerFactory As ILoggerFactory, options As IOptions(Of IISOptions), pairingToken As String, isWebsocketsSupported As Boolean, authentication As IAuthenticationSchemeProvider, applicationLifetime As IHostApplicationLifetime)

Parameters

next
RequestDelegate

The next middleware in the pipeline.

loggerFactory
ILoggerFactory

The ILoggerFactory.

options
IOptions<IISOptions>

The configuration for this middleware.

pairingToken
String

A token used to coordinate with the ASP.NET Core Module.

isWebsocketsSupported
Boolean

Whether websockets are supported by IIS.

Applies to