HostingEnvironment Properties

 

Namespace:   System.Web.Hosting
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticApplicationHost

This property supports the ASP.NET infrastructure and is not intended to be used directly from your code.

System_CAPS_pubpropertySystem_CAPS_staticApplicationID

Gets the unique identifier of the application.

System_CAPS_pubpropertySystem_CAPS_staticApplicationMonitors

Gets a group of repleacable monitor objects used by ASP.NET subsystems to maintain application health.

System_CAPS_pubpropertySystem_CAPS_staticApplicationPhysicalPath

Gets the physical path on disk to the application's directory.

System_CAPS_pubpropertySystem_CAPS_staticApplicationVirtualPath

Gets the root virtual path of the application.

System_CAPS_pubpropertySystem_CAPS_staticCache

Gets the Cache instance for the current application.

System_CAPS_pubpropertySystem_CAPS_staticInClientBuildManager

Gets a value that indicates whether the hosting environment has access to the ASP.NET build system.

System_CAPS_pubpropertySystem_CAPS_staticInitializationException

Gets any exception thrown during initialization of the HostingEnvironment object.

System_CAPS_pubpropertySystem_CAPS_staticIsDevelopmentEnvironment

Gets a value that indicats whether the current application is in a development environment.

System_CAPS_pubpropertySystem_CAPS_staticIsHosted

Gets a value indicating whether the current application domain is being hosted by an ApplicationManager object.

System_CAPS_pubpropertySystem_CAPS_staticMaxConcurrentRequestsPerCPU

Gets or sets the maximum concurrent requests per CPU.

System_CAPS_pubpropertySystem_CAPS_staticMaxConcurrentThreadsPerCPU

Gets or sets the maximum concurrent threads per CPU.

System_CAPS_pubpropertySystem_CAPS_staticShutdownReason

Returns an enumerated value that indicates why the application terminated.

System_CAPS_pubpropertySystem_CAPS_staticSiteName

Gets the name of the site.

System_CAPS_pubpropertySystem_CAPS_staticVirtualPathProvider

Gets the virtual path provider for this application.

Return to top
Show: