Interface IKestrelServerMiddlewareProvider
Provides the implementation for a Kestrel middleware.
Since Kestrel is bootstraped by ASP.NET Core, it uses it's own dependency injection container
(namely Microsoft.
Namespace: Snowflake.Remoting.Kestrel
Assembly: Snowflake.Framework.Remoting.dll
Syntax
public interface IKestrelServerMiddlewareProvider
Methods
Configure(IApplicationBuilder)
Use this method to configure the HTTP request pipeline in Kestrel.
Declaration
void Configure(IApplicationBuilder app)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
app | The Microsoft. |
ConfigureServices(IServiceCollection)
Use this method to add services to the container that is used by the Kestrel server.
Declaration
void ConfigureServices(IServiceCollection services)
Parameters
Type | Name | Description |
---|---|---|
Microsoft. |
services | The Microsoft. |