System.Web.ApplicationServices 命名空間

提供類別,讓您能以 Windows 通訊基礎(WCF)服務的方式存取 ASP.NET 表單認證、角色及配置檔應用程式服務。

類別

名稱 Description
ApplicationServicesHostFactory

提供一個工廠類別,可在託管主機環境中建立認證服務、角色服務及設定檔服務的實例。

AuthenticatingEventArgs

提供 Authenticating 事件的資料。

AuthenticationService

作為網路服務,允許存取 ASP.NET 表單認證。

CreatingCookieEventArgs

提供 CreatingCookie 事件的資料。

KnownTypesProvider

建立包含各類設定檔屬性的物件陣列 Type 。

ProfilePropertyMetadata

提供一組描述剖面屬性的數值。

ProfileService

透過網路服務存取 ASP.NET 使用者設定檔。

RoleService

允許以 WCF Web 服務存取 ASP.NET 角色提供者。

SelectingProviderEventArgs

提供 SelectingProvider 事件的資料。

ValidatingPropertiesEventArgs

提供 ValidatingProperties 事件的資料。

備註

AuthenticationService這些 、 RoleService和 ProfileService 類別包含方法,讓你能登入使用者、檢查目前使用者所屬的角色,並透過 WCF 服務取得使用者的設定檔屬性。 命名空間還包含以下類別: