Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content

System.Web.ApplicationServices 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.

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:

  Class Description
Public class ApplicationServicesHostFactory Provides a factory class that creates instances of the authentication service, role service, and profile service in managed hosting environments.
Public class AuthenticatingEventArgs Provides data for the Authenticating event.
Public class AuthenticationService Enables access to ASP.NET forms authentication as a Web service.
Public class CreatingCookieEventArgs Provides data for the CreatingCookie event.
Public class KnownTypesProvider Infrastructure. Creates an array of Type objects that contain the types of individual profile properties.
Public class ProfilePropertyMetadata Provides a collection of values that describe a profile property.
Public class ProfileService Enables access to ASP.NET user profiles through a Web service.
Public class RoleService Enables access to the ASP.NET role provider as a WCF Web service.
Public class SelectingProviderEventArgs Provides data for the SelectingProvider event.
Public class ValidatingPropertiesEventArgs Provides data for the ValidatingProperties event.
© 2015 Microsoft