Microsoft.AspNetCore.Hosting.Abstractions Commonly used environment names. Use the given configuration settings on the web host. The to configure. The containing settings to be used. The . Set whether startup errors should be captured in the configuration settings of the web host. When enabled, startup exceptions will be caught and an error page will be returned. If disabled, startup exceptions will be propagated. The to configure. true to use startup error page; otherwise false. The . Specify the assembly containing the startup type to be used by the web host. The to configure. The name of the assembly containing the startup type. The . Specify the server to be used by the web host. The to configure. The to be used. The . Specify the environment to be used by the web host. The to configure. The environment to host the application in. The . Specify the content root directory to be used by the web host. The to configure. Path to root directory of the application. The . Specify the webroot directory to be used by the web host. The to configure. Path to the root directory used by the web server. The . Specify the urls the web host will listen on. The to configure. The urls the hosted application will listen on. The . Start the web host and listen on the speficied urls. The to start. The urls the hosted application will listen on. The . Extension methods for . Checks if the current hosting environment name is "Development". An instance of . True if the environment name is "Development", otherwise false. Checks if the current hosting environment name is "Staging". An instance of . True if the environment name is "Staging", otherwise false. Checks if the current hosting environment name is "Production". An instance of . True if the environment name is "Production", otherwise false. Compares the current hosting environment name against the specified value. An instance of . Environment name to validate against. True if the specified name is the same as the current environment, otherwise false. 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. Requests 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. Requests termination the current application. Provides information about the web hosting environment an application is running in. Gets or sets the name of the environment. This property is automatically set by the host to the value of the "ASPNETCORE_ENVIRONMENT" environment variable. Gets or sets the name of the application. This property is automatically set by the host to the assembly containing the application entry point. Gets or sets the absolute path to the directory that contains the web-servable application content files. Gets or sets an pointing at . Gets or sets the absolute path to the directory that contains the application content files. Gets or sets an pointing at . Represents a configured web host. The exposed by the configured server. The for the host. Starts listening on the configured addresses. A builder for . Builds an which hosts a web application. Specify the to be used by the web host. The to be used. The . Specify the delegate that is used to configure the services of the web application. The delegate that configures the . The . Adds a delegate for configuring the provided . This may be called multiple times. The delegate that configures the . The . 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.