System.Web.Hosting Namespace

System.Web.Hosting 命名空間提供從 Microsoft Internet Information Services (IIS) 外部的 Managed 應用程式提供裝載 ASP.NET 應用程式的功能。 The System.Web.Hosting namespace 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

從網際網路資訊服務 (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

在 Managed 應用程式的應用程式定義域中向其提供應用程式管理功能和應用程式服務。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 抽象類別 (Abstract Class) 的簡單實作,其可用來在網際網路資訊服務 (IIS) 應用程式外部裝載 (Host) 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. 它是抽象類別 (Abstract Class),所以不能具現化 (Instantiated)。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. 也可讓通訊協定處理常式存取其他參數,例如接聽程式通道的識別碼。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.