Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

System.Web.ClientServices.Providers Namespace

The System.Web.ClientServices.Providers namespace contains client service providers and other classes that support access in Windows-based applications to the Microsoft 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 Microsoft 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.

  Class Description
Public class ClientFormsAuthenticationCredentials Represents user login information for forms authentication by using client application services.
Public class ClientFormsAuthenticationMembershipProvider Enables forms authentication with client application services.
Public class ClientRoleProvider Gets role information for Windows-based applications from an Microsoft Ajax roles service.
Public class ClientSettingsProvider Enables Windows-based applications to retrieve user settings from a Web settings service.
Public class ClientWindowsAuthenticationMembershipProvider Enables Windows authentication with client application services.
Public class SettingsSavedEventArgs Provides data for the ClientSettingsProvider.SettingsSaved event.
Public class UserValidatedEventArgs Provides data for the ClientFormsAuthenticationMembershipProvider.UserValidated event.
  Interface Description
Public interface IClientFormsAuthenticationCredentialsProvider Defines a method that the ClientFormsAuthenticationMembershipProvider class calls to retrieve user credentials.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.