HostingEnvironment Properties
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | ApplicationHost | This property supports the ASP.NET infrastructure and is not intended to be used directly from your code. |
![]() ![]() | ApplicationID | Gets the unique identifier of the application. |
![]() ![]() | ApplicationMonitors | Gets a group of repleacable monitor objects used by ASP.NET subsystems to maintain application health. |
![]() ![]() | ApplicationPhysicalPath | Gets the physical path on disk to the application's directory. |
![]() ![]() | ApplicationVirtualPath | Gets the root virtual path of the application. |
![]() ![]() | Cache | Gets the Cache instance for the current application. |
![]() ![]() | InClientBuildManager | Gets a value that indicates whether the hosting environment has access to the ASP.NET build system. |
![]() ![]() | InitializationException | Gets any exception thrown during initialization of the HostingEnvironment object. |
![]() ![]() | IsDevelopmentEnvironment | Gets a value that indicats whether the current application is in a development environment. |
![]() ![]() | IsHosted | Gets a value indicating whether the current application domain is being hosted by an ApplicationManager object. |
![]() ![]() | MaxConcurrentRequestsPerCPU | Gets or sets the maximum concurrent requests per CPU. |
![]() ![]() | MaxConcurrentThreadsPerCPU | Gets or sets the maximum concurrent threads per CPU. |
![]() ![]() | ShutdownReason | Returns an enumerated value that indicates why the application terminated. |
![]() ![]() | SiteName | Gets the name of the site. |
![]() ![]() | VirtualPathProvider | Gets the virtual path provider for this application. |

