Microsoft.AspNet.Hosting Namespace ================================== .. toctree:: :hidden: :maxdepth: 2 /autoapi/Microsoft/AspNet/Hosting/ApplicationLifetime/index /autoapi/Microsoft/AspNet/Hosting/EnvironmentName/index /autoapi/Microsoft/AspNet/Hosting/HostingEnvironment/index /autoapi/Microsoft/AspNet/Hosting/HostingEnvironmentExtensions/index /autoapi/Microsoft/AspNet/Hosting/IApplicationLifetime/index /autoapi/Microsoft/AspNet/Hosting/IHostingEnvironment/index /autoapi/Microsoft/AspNet/Hosting/Program/index /autoapi/Microsoft/AspNet/Hosting/WebApplication/index /autoapi/Microsoft/AspNet/Hosting/WebHostBuilder/index .. dn:namespace:: Microsoft.AspNet.Hosting .. rubric:: Classes class :dn:cls:`Microsoft.AspNet.Hosting.ApplicationLifetime` Allows consumers to perform cleanup during a graceful shutdown. class :dn:cls:`Microsoft.AspNet.Hosting.EnvironmentName` Commonly used environment names. class :dn:cls:`Microsoft.AspNet.Hosting.HostingEnvironment` class :dn:cls:`Microsoft.AspNet.Hosting.HostingEnvironmentExtensions` Extension methods for :any:`Microsoft.AspNet.Hosting.IHostingEnvironment`\. class :dn:cls:`Microsoft.AspNet.Hosting.Program` class :dn:cls:`Microsoft.AspNet.Hosting.WebApplication` class :dn:cls:`Microsoft.AspNet.Hosting.WebHostBuilder` .. rubric:: Interfaces interface :dn:iface:`Microsoft.AspNet.Hosting.IApplicationLifetime` Allows consumers to perform cleanup during a graceful shutdown. interface :dn:iface:`Microsoft.AspNet.Hosting.IHostingEnvironment` Provides information about the web hosting environment an application is running in.