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
Public class AppDomainFactory Infrastructure. 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.
Public class AppDomainInfo Infrastructure. Provides information about the application domain.
Public class AppDomainInfoEnum Infrastructure. Provides access to an application domain.
Public class AppDomainProtocolHandler Infrastructure. Provides support for programmatic access to application domain protocols.
Public class 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.
Public class ApplicationInfo Provides information about a running application. This class cannot be inherited.
Public class ApplicationManager Manages ASP.NET application domains for an ASP.NET hosting application.
Public class AppManagerAppDomainFactory Infrastructure. Creates and stops application domains for a Web-application manager. This class cannot be inherited.
Public class CustomLoaderAttribute Infrastructure. [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.
Public class HostingEnvironment Provides application-management functions and application services to a managed application within its application domain. This class cannot be inherited.
Public class HostSecurityPolicyResolver Provides a way to customize ASP.NET behavior at run time that overrides the ASP.NET code access security policy.
Public class ISAPIRuntime Infrastructure. Manages HttpWorkerRequest objects in the .NET Framework. This class cannot be inherited.
Public class ProcessHost Infrastructure. Represents a process host.
Public class ProcessHostFactoryHelper Infrastructure. Provides a method to retrieve an IProcessHost interface.
Public class ProcessProtocolHandler Infrastructure. Provides support for protocol handlers.
Public class 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.
Public class VirtualDirectory Represents a directory object in a virtual file or resource space.
Public class VirtualFile Represents a file object in a virtual file or resource space.
Public class VirtualFileBase Provides the core implementation for the VirtualFile and VirtualDirectory objects. An abstract class, it cannot be instantiated.
Public class VirtualPathProvider Provides a set of methods that enable a Web application to retrieve resources from a virtual file system.

  Interface Description
Public interface IAdphManager Infrastructure. Manages an application domain protocol handler
Public interface IAppDomainFactory Infrastructure. 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.
Public interface IAppDomainInfo Infrastructure. Provides information about the application domain.
Public interface IAppDomainInfoEnum Infrastructure. Provides access to an application domain.
Public interface IApplicationHost Infrastructure. Retrieves information about the application host.
Public interface IApplicationPreloadManager Infrastructure. Provides methods that ASP.NET uses to invoke the application-preload feature in IIS 7.0.
Public interface IApplicationPreloadUtil Infrastructure. Provides methods that ASP.NET uses to communicate with IIS 7.0 while the server preloads an application.
Public interface IAppManagerAppDomainFactory Infrastructure. Defines a method used to create an AppDomain instance for a Web-application manager and a method used to stop all AppDomain instances for a Web-application manager.
Public interface IISAPIRuntime Infrastructure. Defines the methods that are used to create HttpWorkerRequest objects in the .NET Framework.
Public interface IListenerChannelCallback Infrastructure. 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.
Public interface IPphManager Infrastructure. Provides stop and start control of listener channels.
Public interface IProcessHost Infrastructure. Defines the set of process-wide functionality that every host of the application manager must implement.
Public interface IProcessHostFactoryHelper Infrastructure. Provides a method to retrieve an IProcessHost interface.
Public interface IProcessHostIdleAndHealthCheck Infrastructure. Provides ways to check on the state of a process.
Public interface 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.
Public interface IProcessHostSupportFunctions Infrastructure. Provides helper functions for the process host.
Public interface IProcessPingCallback Infrastructure. Provides functionality to respond to a ping request.
Public interface IRegisteredObject Defines methods for objects that are managed by the hosting environment.
Public interface IStopListeningRegisteredObject [Supported in the .NET Framework 4.5.1 and later versions] Listens for GL_STOP_LISTENING notifications from IIS.
Public interface ISuspendibleRegisteredObject [Supported in the .NET Framework 4.5.1 and later versions] Listens for suspend and resume notifications.

  Enumeration Description
Public enumeration HostSecurityPolicyResults Specifies the type of security policy to apply to an assembly.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft