IISMiddleware Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
- next
- RequestDelegate
- 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
- next
- RequestDelegate
- loggerFactory
- ILoggerFactory
- options
- IOptions<IISOptions>
- pairingToken
- String
- authentication
- IAuthenticationSchemeProvider
- 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.
- authentication
- IAuthenticationSchemeProvider
- applicationLifetime
- IHostApplicationLifetime
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
- next
- RequestDelegate
- loggerFactory
- ILoggerFactory
- options
- IOptions<IISOptions>
- pairingToken
- String
- isWebsocketsSupported
- Boolean
- authentication
- IAuthenticationSchemeProvider
- 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.
- authentication
- IAuthenticationSchemeProvider
- applicationLifetime
- IHostApplicationLifetime