Microsoft.AspNetCore.Hosting Namespace

Classes

AppServicesWebHostBuilderExtensions
ConventionBasedStartup
DelegateStartup
EnvironmentName

Commonly used environment names.

HostingAbstractionsWebHostBuilderExtensions
HostingEnvironmentExtensions

Extension methods for IHostingEnvironment.

HostingStartupAttribute

Marker attribute indicating an implementation of IHostingStartup that will be loaded and executed when building an IWebHost.

KestrelServerOptionsConnectionLoggingExtensions
KestrelServerOptionsHttpsExtensions
KestrelServerOptionsSystemdExtensions
ListenOptionsConnectionLoggingExtensions
ListenOptionsHttpsExtensions

Extension methods fro ListenOptions that configure Kestrel to use HTTPS for a given endpoint.

StartupBase
StartupBase<TBuilder>
WebHostBuilder

A builder for IWebHost

WebHostBuilderContext

Context containing the common services on the IWebHost. Some properties may be null until set by the IWebHost.

WebHostBuilderExtensions
WebHostBuilderHttpSysExtensions
WebHostBuilderIISExtensions
WebHostBuilderKestrelExtensions
WebHostBuilderLibuvExtensions
WebHostBuilderWebListenerExtensions
WebHostDefaults
WebHostExtensions

Interfaces

IApplicationLifetime

Allows consumers to perform cleanup during a graceful shutdown.

IHostingEnvironment

Provides information about the web hosting environment an application is running in.

IHostingStartup

Represents platform specific configuration that will be applied to a IWebHostBuilder when building an IWebHost.

IStartup
IStartupFilter
IWebHost

Represents a configured web host.

IWebHostBuilder

A builder for IWebHost.