17.3. Summary

The application services introduced with ASP.NET played a very helpful role in providing developers with ready-made services that can they count on when developing small-scale web application. They can even customize and extend when working on medium- to large-scale web applications.

The application services introduced with ASP.NET played a very helpful role in providing developers with ready-made services that can be counted on when developing small-scale web application. These services can even be customized and extended to satisfy requirements for medium- to large-scale web applications.

Before using the authentication and role services, several steps have to be done beginning with enabling the ASP.NET application with the ASP.NET AJAX 3.5. Once an application is enabled with the ASP.NET AJAX, you need to enable the client-side authentication and role services by adding some configuration sections into the application's web.config configuration file.

The authentication services lets you authenticate users from the client-side JavaScript using the Sys.Services._AuthenticationService client-side proxy class that provides client-side functions that can be utilized by AJAX developers, which internally performs asynchronous calls against the server-side counterpart, the AuthenticationService class. The Sys.Services._AuthenticationService client-side proxy allows the developer to authenticate a user, check if the user is currently authenticated, logout a user by clearing ...

Get Professional ASP.NET 3.5 Security, Membership, and Role Management with C# and VB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.