System.Web.Hosting 命名空间

提供用于从 Microsoft Internet Information Services (IIS) 之外的托管应用程序中承载 ASP.NET 应用程序的功能。 Provides the functionality for hosting ASP.NET applications from managed applications outside Microsoft Internet Information Services (IIS).

AppDomainFactory

为 Web 应用程序创建一个新的 AppDomain 实例。Creates a new AppDomain instance for the Web application. 此类不能被继承。This class cannot be inherited. 此类由 .NET Framework 的早期版本使用,而不是由其 2.0 版使用,其 2.0 版使用 AppManagerAppDomainFactory 类。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

使得能够在 Internet 信息服务 (IIS) 应用程序之外承载 ASP.NET 页。Enables hosting of ASP.NET pages outside the Internet Information Services (IIS) application. 此类使宿主能够创建用于处理 ASP.NET 请求的应用程序域。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

为 ASP.NET 宿主应用程序管理 ASP.NET 应用程序域。Manages ASP.NET application domains for an ASP.NET hosting application.

ApplicationMonitors

ASP.NET 子系统用于维护应用程序运行状况的一组可替换监视器对象。A group of replaceable monitor objects used by ASP.NET subsystems to maintain application health.

AppManagerAppDomainFactory

为 Web 应用程序管理器创建或停止应用程序域。Creates and stops application domains for a Web-application manager. 此类不能被继承。This class cannot be inherited.

AspNetMemoryMonitor

内存监视器的 ASP.NET 默认实现。ASP.NET default implementation of memory monitor.

CustomLoaderAttribute

提供 ASP.NET 自定义加载程序,以便应用程序可以提供它自己的宿主环境的实现。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

提供一种自定义重写 ASP.NET 代码访问安全策略的 ASP.NET 运行时行为的方法。Provides a way to customize ASP.NET behavior at run time that overrides the ASP.NET code access security policy.

ISAPIRuntime

管理 .NET Framework 中的 HttpWorkerRequest 对象。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

实现 ASP.NET 对由应用程序的内存监视器引发的 LowPhysicalMemoryInfo 事件的默认反应的观察程序。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

提供一个检索 IProcessHost 接口的方法。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

一个观察程序,用于实现 ASP.NET 对由应用程序的回收限制监视器引发的 RecycleLimitInfo 事件的默认反应。An observer that implements ASP.NET's default reaction to RecycleLimitInfo events raised by the application's recycle limit monitor.

SimpleWorkerRequest

提供 HttpWorkerRequest 抽象类的简单实现,该抽象类可用于在 Internet 信息服务 (IIS) 应用程序之外承载 ASP.NET 应用程序。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. 可以直接采用 SimpleWorkerRequest,也可以扩展它。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

提供 VirtualFileVirtualDirectory 对象的核心实现。Provides the core implementation for the VirtualFile and VirtualDirectory objects. 一个抽象类,无法实例化。An abstract class, it cannot be instantiated.

VirtualPathProvider

提供了一组方法,使 Web 应用程序可以从虚拟文件系统中检索资源。Provides a set of methods that enable a Web application to retrieve resources from a virtual file system.

接口

IAdphManager

管理应用程序域协议处理程序。Manages an application domain protocol handler.

IAppDomainFactory

定义一个创建 Web 应用程序的新 AppDomain 实例的方法。Defines a single method to create a new AppDomain instance for a Web application. 此接口由 .NET Framework 2.0 以前的版本使用;2.0 版改用 IAppManagerAppDomainFactory 接口。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

定义 ASP.NET. 的可替换应用程序监视器所需的接口。Defines the interface required of a replaceable application monitor for ASP.NET.

IApplicationPreloadManager

提供 ASP.NET 用于在 IIS 7.0 中调用应用程序预加载功能的方法。Provides methods that ASP.NET uses to invoke the application-preload feature in IIS 7.0.

IApplicationPreloadUtil

提供在服务器预加载应用程序时 ASP.NET 用于与 IIS 7.0 通信的方法。Provides methods that ASP.NET uses to communicate with IIS 7.0 while the server preloads an application.

IAppManagerAppDomainFactory

定义两个方法:一个方法用于为 Web 应用程序管理器创建 AppDomain 实例;另一个方法用于为 Web 应用程序管理器停止所有 AppDomain 实例。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

定义用于在 .NET Framework 中创建 HttpWorkerRequest 对象的方法。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. 还使协议处理程序能访问其他参数,如侦听器通道的 ID。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

提供一个检索 IProcessHost 接口的方法。Provides a method to retrieve an IProcessHost interface.

IProcessHostIdleAndHealthCheck

提供检查进程状态的方法。Provides ways to check on the state of a process.

IProcessHostPreloadClient

定义一个接口,在某个类型中实现此接口可以在 IIS 7.0 上运行的 ASP.NET 应用程序中预加载该类型。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

提供进程宿主的 Helper 函数。Provides helper functions for the process host.

IProcessPingCallback

提供响应 ping 请求的功能。Provides functionality to respond to a ping request.

IRegisteredObject

为宿主环境所管理的对象定义方法。Defines methods for objects that are managed by the hosting environment.

IStopListeningRegisteredObject

侦听来自 IIS 的GL_STOP_LISTENING 通知。Listens for GL_STOP_LISTENING notifications from IIS.

ISuspendibleRegisteredObject

侦听暂停和继续执行通知。Listens for suspend and resume notifications.

枚举

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.