System.Web.Hosting Namespace
The System.Web.Hosting namespace provides the functionality for hosting ASP.NET applications from managed applications outside Microsoft Internet Information Services (IIS).
| Class | Description | |
|---|---|---|
![]() | AppDomainFactory | This API supports the product infrastructure and is not intended to be used directly from your code. Creates a new AppDomain instance for the Web application. This class cannot be inherited. This class was used by earlier versions of the .NET Framework than version 2.0, which uses the AppManagerAppDomainFactory class instead. |
![]() | AppDomainInfo | This API supports the product infrastructure and is not intended to be used directly from your code. Provides information about the application domain. |
![]() | AppDomainInfoEnum | This API supports the product infrastructure and is not intended to be used directly from your code. Provides access to an application domain. |
![]() | AppDomainProtocolHandler | This API supports the product infrastructure and is not intended to be used directly from your code. Provides support for programmatic access to application domain protocols. |
![]() | ApplicationHost | Enables hosting of ASP.NET pages outside the Internet Information Services (IIS) application. This class enables the host to create application domains for processing ASP.NET requests. |
![]() | ApplicationInfo | Provides information about a running application. This class cannot be inherited. |
![]() | ApplicationManager | Manages ASP.NET application domains for an ASP.NET hosting application. |
![]() | ApplicationMonitors | A group of replaceable monitor objects used by ASP.NET subsystems to maintain application health. |
![]() | AppManagerAppDomainFactory | This API supports the product infrastructure and is not intended to be used directly from your code. Creates and stops application domains for a Web-application manager. This class cannot be inherited. |
![]() | AspNetMemoryMonitor | ASP.NET default implementation of memory monitor. |
![]() | CustomLoaderAttribute | This API supports the product infrastructure and is not intended to be used directly from your code. [Supported in the .NET Framework 4.5.1 and later versions] Provides a custom loader to ASP.NET so that an application can provide its own implementation of the hosting environment. |
![]() | HostingEnvironment | Provides application-management functions and application services to a managed application within its application domain. This class cannot be inherited. |
![]() | HostSecurityPolicyResolver | Provides a way to customize ASP.NET behavior at run time that overrides the ASP.NET code access security policy. |
![]() | ISAPIRuntime | This API supports the product infrastructure and is not intended to be used directly from your code. Manages HttpWorkerRequest objects in the .NET Framework. This class cannot be inherited. |
![]() | LowPhysicalMemoryInfo | Encapsulates information about events raised by the application's memory monitor. |
![]() | LowPhysicalMemoryObserver | An observer that implements ASP.NET's default reaction to LowPhysicalMemoryInfo events raised by the application's memory monitor. |
![]() | ProcessHost | This API supports the product infrastructure and is not intended to be used directly from your code. Represents a process host. |
![]() | ProcessHostFactoryHelper | This API supports the product infrastructure and is not intended to be used directly from your code. Provides a method to retrieve an IProcessHost interface. |
![]() | ProcessProtocolHandler | This API supports the product infrastructure and is not intended to be used directly from your code. Provides support for protocol handlers. |
![]() | RecycleLimitInfo | Describes the level of memory pressure detected. |
![]() | RecycleLimitMonitor | This API supports the product infrastructure and is not intended to be used directly from your code. Encapsulates a recycle limit monitor. |
![]() | RecycleLimitMonitor.RecycleLimitMonitorSingleton | This API supports the product infrastructure and is not intended to be used directly from your code. Encapsulates a recycle limit monitor singleton. |
![]() | RecycleLimitObserver | An observer that implements ASP.NET's default reaction to RecycleLimitInfo events raised by the application's recycle limit monitor. |
![]() | SimpleWorkerRequest | Provides a simple implementation of the HttpWorkerRequest abstract class that can be used to host ASP.NET applications outside an Internet Information Services (IIS) application. You can employ SimpleWorkerRequest directly or extend it. |
![]() | VirtualDirectory | Represents a directory object in a virtual file or resource space. |
![]() | VirtualFile | Represents a file object in a virtual file or resource space. |
![]() | VirtualFileBase | Provides the core implementation for the VirtualFile and VirtualDirectory objects. An abstract class, it cannot be instantiated. |
![]() | VirtualPathProvider | Provides a set of methods that enable a Web application to retrieve resources from a virtual file system. |
| Interface | Description | |
|---|---|---|
![]() | IAdphManager | This API supports the product infrastructure and is not intended to be used directly from your code. Manages an application domain protocol handler |
![]() | IAppDomainFactory | This API supports the product infrastructure and is not intended to be used directly from your code. Defines a single method to create a new AppDomain instance for a Web application. This interface was used by .NET Framework versions earlier than 2.0; version 2.0 uses the IAppManagerAppDomainFactory interface instead. |
![]() | IAppDomainInfo | This API supports the product infrastructure and is not intended to be used directly from your code. Provides information about the application domain. |
![]() | IAppDomainInfoEnum | This API supports the product infrastructure and is not intended to be used directly from your code. Provides access to an application domain. |
![]() | IApplicationHost | This API supports the product infrastructure and is not intended to be used directly from your code. Retrieves information about the application host. |
![]() | IApplicationMonitor | Defines the interface required of a replaceable application monitor for ASP.NET. |
![]() | IApplicationPreloadManager | This API supports the product infrastructure and is not intended to be used directly from your code. Provides methods that ASP.NET uses to invoke the application-preload feature in IIS 7.0. |
![]() | IApplicationPreloadUtil | This API supports the product infrastructure and is not intended to be used directly from your code. Provides methods that ASP.NET uses to communicate with IIS 7.0 while the server preloads an application. |
![]() | IAppManagerAppDomainFactory | |
![]() | IISAPIRuntime | This API supports the product infrastructure and is not intended to be used directly from your code. Defines the methods that are used to create HttpWorkerRequest objects in the .NET Framework. |
![]() | IListenerChannelCallback | This API supports the product infrastructure and is not intended to be used directly from your code. Provides listener-channel notifications from protocol handlers to the worker process framework. Also enables protocol handlers to access additional parameters, such as the ID of the listener channel. |
![]() | IPphManager | This API supports the product infrastructure and is not intended to be used directly from your code. Provides stop and start control of listener channels. |
![]() | IProcessHost | This API supports the product infrastructure and is not intended to be used directly from your code. Defines the set of process-wide functionality that every host of the application manager must implement. |
![]() | IProcessHostFactoryHelper | This API supports the product infrastructure and is not intended to be used directly from your code. Provides a method to retrieve an IProcessHost interface. |
![]() | IProcessHostIdleAndHealthCheck | This API supports the product infrastructure and is not intended to be used directly from your code. Provides ways to check on the state of a process. |
![]() | IProcessHostPreloadClient | Defines an interface that can be implemented in a type in order to preload the type in an ASP.NET application that is running on IIS 7.0. |
![]() | IProcessHostSupportFunctions | This API supports the product infrastructure and is not intended to be used directly from your code. Provides helper functions for the process host. |
![]() | IProcessPingCallback | This API supports the product infrastructure and is not intended to be used directly from your code. Provides functionality to respond to a ping request. |
![]() | IRegisteredObject | Defines methods for objects that are managed by the hosting environment. |
![]() | IStopListeningRegisteredObject | [Supported in the .NET Framework 4.5.1 and later versions] Listens for GL_STOP_LISTENING notifications from IIS. |
![]() | ISuspendibleRegisteredObject | [Supported in the .NET Framework 4.5.1 and later versions] Listens for suspend and resume notifications. |
| Enumeration | Description | |
|---|---|---|
![]() | HostSecurityPolicyResults | Specifies the type of security policy to apply to an assembly. |
![]() | RecycleLimitNotificationFrequency | Indicates how frequently the memory monitor perceives we are asking listeners to react to the approaching memory threshold. |


