Microsoft.AspNetCore.Hosting
Don't use in shipping packages
A builder for
Initializes a new instance of the class.
Add or replace a setting in the configuration.
The key of the setting to add or replace.
The value of the setting to add or replace.
The .
Get the setting value from the configuration.
The key of the setting to look up.
The value the setting currently contains.
Specify the to be used by the web host.
The to be used.
The .
Adds a delegate for configuring additional services for the host or web application. This may be called
multiple times.
A delegate for configuring the .
The .
Adds a delegate for configuring the provided . This may be called multiple times.
The delegate that configures the .
The .
Builds the required services and an which hosts a web application.
Specify the startup method to be used to configure the web application.
The to configure.
The delegate that configures the .
The .
Specify the startup type to be used by the web host.
The to configure.
The to be used.
The .
Specify the startup type to be used by the web host.
The to configure.
The type containing the startup methods for the application.
The .
Runs a web application and block the calling thread until host shutdown.
The to run.
Runs a web application and block the calling thread until token is triggered or shutdown is triggered.
The to run.
The token to trigger shutdown.
Allows consumers to perform cleanup during a graceful shutdown.
Triggered when the application host has fully started and is about to wait
for a graceful shutdown.
Triggered when the application host is performing a graceful shutdown.
Request may still be in flight. Shutdown will block until this event completes.
Triggered when the application host is performing a graceful shutdown.
All requests should be complete at this point. Shutdown will block
until this event completes.
Signals the ApplicationStopping event and blocks until it completes.
Signals the ApplicationStarted event and blocks until it completes.
Signals the ApplicationStopped event and blocks until it completes.