System.Web.ApplicationServices 命名空间

提供类,使你能够以 Windows Communication Foundation (WCF) 服务的形式访问 ASP.NET 表单身份验证、角色和配置文件应用程序服务。

名称 说明
ApplicationServicesHostFactory

提供一个工厂类,用于在托管托管环境中创建身份验证服务、角色服务和配置文件服务的实例。

AuthenticatingEventArgs

提供事件的数据 Authenticating

AuthenticationService

允许以 Web 服务身份访问 ASP.NET 表单身份验证。

CreatingCookieEventArgs

提供事件的数据 CreatingCookie

KnownTypesProvider

创建包含单个配置文件属性类型的对象的数组 Type

ProfilePropertyMetadata

提供描述配置文件属性的值集合。

ProfileService

允许通过 Web 服务访问 ASP.NET 用户配置文件。

RoleService

允许作为 WCF Web 服务访问 ASP.NET 角色提供程序。

SelectingProviderEventArgs

提供事件的数据 SelectingProvider

ValidatingPropertiesEventArgs

提供事件的数据 ValidatingProperties

注解

AuthenticationServiceRoleService包含ProfileService用于登录用户的方法、检查当前用户所属的角色,以及通过 WCF 服务检索用户的配置文件属性。 命名空间还包括以下类: