Web. Application Services Namespace
The System.Web.ApplicationServices namespace provides classes that enable you to access ASP.NET forms authentication, roles, and profiles application services as Windows Communication Foundation (WCF) services.
Provides a factory class that creates instances of the authentication service, role service, and profile service in managed hosting environments.
Provides data for the Authenticating event.
Enables access to ASP.NET forms authentication as a Web service.
Provides data for the CreatingCookie event.
Creates an array of Type objects that contain the types of individual profile properties.
Provides a collection of values that describe a profile property.
Enables access to ASP.NET user profiles through a Web service.
Enables access to the ASP.NET role provider as a WCF Web service.
Provides data for the SelectingProvider event.
Provides data for the ValidatingProperties event.
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:
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.