-
Book Overview & Buying
-
Table Of Contents
Microsoft AJAX Library Essentials: Client-side ASP.NET AJAX 1.0 Explained
In Chapter 2, you learned about the XMLHttpRequest object that represents the core of any AJAX-enabled application. Asynchronous client-server communication is also a pillar of the Microsoft AJAX Library. Although this library does a great job at abstracting the low-level details from the developer, XMLHttpRequest is still used to handle the background client-server communication.
The Microsoft AJAX Library client can call server-side web service methods. Its networking layer binds together the client presentation layer and the business layer of the server side. This approach has the advantage of loosely coupling the JavaScript client to the ASP.NET server, providing an interface for them to communicate.
The networking layer in Microsoft AJAX Library works as described in Figure 4-3.
![]() |
Figure 4-3 Asynchronous Communication with ASP.NET AJAX
The Microsoft AJAX Library client can use the networking layer to do one of the following:
Make calls to server pages
Make calls...
Change the font size
Change margin width
Change background colour
