The web has evolved over the last decade from providing a static presence to being the default choice for developers writing applications. With web applications, you get reach without having to deal with deployment and servicing issues that accompany desktop applications. But the bar continues to move higher for web applications as users come to expect more. AJAX technologies are driving web applications to rival rich desktop apps. You can use the results of asynchronous communication with the web server to update portions of the page without forcing the user to stop his work and wait for the page to post back and repaint. Dynamic HTML allows you to create a rich GUI with transitions and animations leveraging CSS for colors, fonts, positioning, and more.
ASP.NET AJAX includes the Microsoft AJAX Library that makes writing browser-based JavaScript easier and simplifies many common client programming tasks. It is easy to attach code to DOM events, write JavaScript in an object-oriented way, and access the server for persistent storage, authentication, and updated data.
ASP.NET AJAX also includes extensions to version 2.0 of the .NET Framework that can greatly improve your web application. There is built-in support for returning data in the JSON format that is easily consumed by JavaScript in the browser.
In this book, you will see how the client and server features of ASP.NET AJAX make it easier to push the limits of what you can do with a web application! You will learn how to update portions of a page asynchronously and how to manage the scripts that are used in the browser. You’ll find out how to use the networking facilities, with a dive into accessing ASP.NET services like authentication and profile storage. You’ll get a closer look at the JavaScript language and how the Microsoft AJAX Library builds on top of the language to simplify programming tasks. You’ll also see what ASP.NET AJAX offers for adding richer UI to web applications and look at how to debug and test web applications. And you’ll learn about some details of deploying and debugging applications and look at other resources available for use with ASP.NET AJAX.