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).

Remarks

Classes

TypeReason
AppDomainFactory

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 System.Web.Hosting.AppManagerAppDomainFactory class instead.

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.

AppManagerAppDomainFactory

Creates and stops application domains for a Web-application manager. This class cannot be inherited.

HostingEnvironment

Provides application-management functions and application services to a managed application within its application domain. This class cannot be inherited.

IAppDomainFactory

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 System.Web.Hosting.IAppManagerAppDomainFactory interface instead.

IAppManagerAppDomainFactory

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.

IISAPIRuntime

Defines the methods that are used to create System.Web.HttpWorkerRequest objects in the .NET Framework.

IRegisteredObject

Defines methods for objects that are managed by the hosting environment.

ISAPIRuntime

Manages System.Web.HttpWorkerRequest objects in the .NET Framework. This class cannot be inherited.

SimpleWorkerRequest

Provides a simple implementation of the System.Web.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 System.Web.Hosting.VirtualFile and System.Web.Hosting.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.