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

System.Web.ClientServices Namespace

The System.Web.ClientServices namespace provides classes that support access in Windows-based applications to the ASP.NET AJAX authentication, roles, and profiles services. 

The classes in the System.Web.ClientServices namespace support the client application service providers in the System.Web.ClientServices.Providers namespace. These service providers enable Windows-based applications to use the ASP.NET AJAX authentication, roles, and profiles 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.

The ClientFormsIdentity and ClientRolePrincipal classes provide properties and methods related to a user's identity, role, and authentication state.

The ConnectivityStatus class enables you to store the status of the user's network connection in the local data cache. The connectivity status indicates whether the client service providers will use the offline cache or attempt to access the application services.

NoteNote:

The ConnectivityStatus class contains no logic to determine the actual status of the network connection. You are responsible for determining the connectivity status of your application according to your own criteria and setting the IsOffline property accordingly. For example, Windows-based applications often provide an option in the user interface so that users can work in offline mode or attempt to go online.

  ClassDescription
Public classClientFormsIdentityRepresents a user identity authenticated for client application services by using forms authentication.
Public classClientRolePrincipalRepresents security information for client application services, which includes role information.
Public classConnectivityStatusRepresents the status of an application's network connection.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.