System.Web.Configuration Namespace
.NET Framework version 2.0
Defines configuration settings that control the behavior of the application hosting environment. This class cannot be inherited.
The HostingEnvironmentSection class provides a way to programmatically access and modify the hostingEnvironment section of a configuration file.
When an ASP.NET application is unused for a specified amount of time, it can be unloaded from memory based on the IdleTimeout and ShutdownTimeout properties.
This example demonstrates how to specify values declaratively for several attributes of the hostingEnvironment section, which can also be accessed as members of the HostingEnvironmentSection class.
The following configuration file example shows how to specify values declaratively for the hostingEnvironment section.
<system.web>
<hostingEnvironment
idleTimeout = "20"
shutdownTimeout = "30"
/>
</system.web>
ASP.NET Configuration <hostingEnvironment> Section