System.Web.ApplicationServices Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides classes that enable you to access ASP.NET forms authentication, roles, and profiles application services as Windows Communication Foundation (WCF) services.
Classes
ApplicationServicesHostFactory |
Provides a factory class that creates instances of the authentication service, role service, and profile service in managed hosting environments. |
AuthenticatingEventArgs |
Provides data for the Authenticating event. |
AuthenticationService |
Enables access to ASP.NET forms authentication as a Web service. |
CreatingCookieEventArgs |
Provides data for the CreatingCookie event. |
KnownTypesProvider |
Creates an array of Type objects that contain the types of individual profile properties. |
ProfilePropertyMetadata |
Provides a collection of values that describe a profile property. |
ProfileService |
Enables access to ASP.NET user profiles through a Web service. |
RoleService |
Enables access to the ASP.NET role provider as a WCF Web service. |
SelectingProviderEventArgs |
Provides data for the SelectingProvider event. |
ValidatingPropertiesEventArgs |
Provides data for the ValidatingProperties event. |
Remarks
The AuthenticationService, RoleService, and ProfileService classes contain methods that let you log on users, check which roles the current user belongs to, and retrieve profile properties for the user through WCF services. The namespace also includes the following classes:
CreatingCookieEventArgs, which is used to customize the authentication cookie from the AuthenticationService class.
AuthenticatingEventArgs, which is used to select the membership provider at run time.
SelectingProviderEventArgs, which is used to select the role provider at run time.
ValidatingPropertiesEventArgs, which is used to create custom validation for user profile properties.