Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
.NET Framework Class Library
System.Web.ClientServices.Providers Namespace

Updated: November 2007

The System.Web.ClientServices.Providers namespace contains client service providers and other classes that support access in Windows-based applications to the ASP.NET AJAX authentication, roles, and profile services.

The classes in the System.Web.ClientServices.Providers namespace include client application service providers that enable Windows-based applications to use the ASP.NET AJAX authentication, roles, and profile services. You can enable these services and specify client service providers in your application configuration file, and then access the services through existing .NET Framework 2.0 membership, identity, and application settings infrastructures. The client service providers also support occasional connectivity by storing and retrieving user information in a local data cache when the application is offline. For more information, see Client Application Services.

To access the login service, you can use either Windows or Forms authentication by specifying the ClientWindowsAuthenticationMembershipProvider or ClientFormsAuthenticationMembershipProvider in your application configuration. Windows authentication uses the identity supplied when a user logs in to the operating system. Forms authentication requires that you to retrieve login information from the user and pass it to the service. You can do this by specifying an IClientFormsAuthenticationCredentialsProvider implementation with your ClientFormsAuthenticationMembershipProvider configuration. The IClientFormsAuthenticationCredentialsProvider..::.GetCredentials method returns a ClientFormsAuthenticationCredentials object that contains user login information. You can populate this object, for example, by displaying a login dialog box in the GetCredentials method.

To access the roles and profile services, specify the ClientRoleProvider and ClientSettingsProvider in your application configuration.

  ClassDescription
ClientFormsAuthenticationCredentials Represents user login information for forms authentication by using client application services.
ClientFormsAuthenticationMembershipProvider Enables forms authentication with client application services.
ClientRoleProvider Gets role information for Windows-based applications from an ASP.NET AJAX roles service.
ClientSettingsProvider Enables Windows-based applications to retrieve user settings from a Web settings service.
ClientWindowsAuthenticationMembershipProvider Enables Windows authentication with client application services.
SettingsSavedEventArgs Provides data for the ClientSettingsProvider..::.SettingsSaved event.
UserValidatedEventArgs Provides data for the ClientFormsAuthenticationMembershipProvider..::.UserValidated event.
  InterfaceDescription
IClientFormsAuthenticationCredentialsProvider Defines a method that the ClientFormsAuthenticationMembershipProvider class calls to retrieve user credentials.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker