By walking through an example, you were able to
see how these features work and how you can use them to make JavaScript easier to code,
debug, and maintain. Additionally, you looked at the JavaScript features that automatically
encapsulate asynchronous web service calls from your browser application. You saw
how to implement and consume a web service as well as how to process the asynchronous
results. Comparing the complexity of this call to the AJAX code in Chapter 1, you
can see it is accomplishing almost the exact same task with less code and in an easierto-
read and easier-to-maintain manner.
From here, you can begin to see the value that ASP.NET AJAX brings to developing
AJAX-style applications. The following chapter will provide details on the server-side
portion of ASP.NET AJAX: the ASP.NET 2.0 AJAX Extensions.
CHAPTER 3 ?– THE MICROSOFT AJAX LIBRARY: MAKING CLIENT-SIDE JAVASCRIPT EASIER 54
ASP.NET AJAX Client Libraries
In the first three chapters, you looked at the basics of ASP.NET AJAX and how you can
use it to build web applications that provide slick, clean, high-performing UIs by restricting
the need for full-page postbacks to the server and that use the intelligence of the
browser on the client side.
Pages:
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110