แก้ไข

แชร์ผ่าน


System.Web.Hosting Namespace

Provides the functionality for hosting ASP.NET applications from managed applications outside Microsoft Internet Information Services (IIS).

Classes

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

AppDomainInfo

Provides information about the application domain.

AppDomainInfoEnum

Provides access to an application domain.

AppDomainProtocolHandler

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

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

AspNetMemoryMonitor

ASP.NET default implementation of memory monitor.

CustomLoaderAttribute

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

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

Represents a process host.

ProcessHostFactoryHelper

Provides a method to retrieve an IProcessHost interface.

ProcessProtocolHandler

Provides support for protocol handlers.

RecycleLimitInfo

Describes the level of memory pressure detected.

RecycleLimitMonitor

Encapsulates a recycle limit monitor.

RecycleLimitMonitor.RecycleLimitMonitorSingleton

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.

Interfaces

IAdphManager

Manages an application domain protocol handler.

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

IAppDomainInfo

Provides information about the application domain.

IAppDomainInfoEnum

Provides access to an application domain.

IApplicationHost

Retrieves information about the application host.

IApplicationMonitor

Defines the interface required of a replaceable application monitor for ASP.NET.

IApplicationPreloadManager

Provides methods that ASP.NET uses to invoke the application-preload feature in IIS 7.0.

IApplicationPreloadUtil

Provides methods that ASP.NET uses to communicate with IIS 7.0 while the server preloads an application.

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 HttpWorkerRequest objects in the .NET Framework.

IListenerChannelCallback

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

Provides stop and start control of listener channels.

IProcessHost

Defines the set of process-wide functionality that every host of the application manager must implement.

IProcessHostFactoryHelper

Provides a method to retrieve an IProcessHost interface.

IProcessHostIdleAndHealthCheck

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

Provides helper functions for the process host.

IProcessPingCallback

Provides functionality to respond to a ping request.

IRegisteredObject

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

IStopListeningRegisteredObject

Listens for GL_STOP_LISTENING notifications from IIS.

ISuspendibleRegisteredObject

Listens for suspend and resume notifications.

Enums

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.