Skip navigation

Sams Teach Yourself ASP.NET Ajax in 24 Hours



Sams Teach Yourself ASP.NET Ajax in 24 Hours

Sams Teach Yourself ASP.NET Ajax in 24 Hours is a good introduction to the ASP.NET AJAX Framework for any beginner just getting into ASP.NET AJAX development, or even just learning ASP.NET altogether. The book illustrates the concepts of the ASP.NET AJAX Framework, touching upon the foundations of scripting, DHTML, and CSS; XmlHttpRequest and the ability to do partial-page postbacks without ASP.NET AJAX; JavaScript Object Notation; client-side callbacks; and the ASP.NET AJAX library and AJAX control toolkit.


When learning ASP.NET AJAX, there are a lot of related topics that need to be learned before diving into the ASP.NET AJAX Framework; this book does a good job of teaching the reader these concepts. As with anything, learning the prerequisite information supplements the topic and helps the reader to learn the subject more quickly, which I think this book does.


Sams Teach Yourself ASP.NET Ajax in 24 Hours doesn t assume that the reader knows anything about ASP.NET or AJAX, which is good for anyone just getting into the topic because the book does go into examples of the features that can be formed via AJAX without ASP.NET AJAX, then moves to illustrating how those features can be implemented using the ASP.NET AJAX library.


As the book moves away from the introduction and into ASP.NET AJAX topics, it moves into Part 2 by covering the various new client-side features available, plus an illustration of the ScriptManager, ScriptManagerProxy, UpdatePanel, and the other ASP.NET AJAX server components. It also discusses the good amount of new client-side features added to provide additional support for the framework. The book looks at these subjects briefly at first, but illustrates them later in subsequent chapters.


The book also discusses the theory and a few of the components available in the AJAX control toolkit, including AutoCompleteExtender, ConfirmButtonExtender, and the DropDownExtender. The book uses illustrations to show how the AJAX control toolkit control or extender taps into the ASP.NET lifecycle and works with a script manager. Every control or extender has a server lifecycle, as well as a client lifecycle, which a following chapter covers in detail, showing how the Sys.Application and Sys.Web.PageRequestManager can register event handlers for specific lifecycle events.


The third part of the book discusses Web services and how a Web service can be used in ASP.NET AJAX, then discusses the two existing REST-based services available in the .NET Framework: the AuthenticationService, which works with the Membership and Roles APIs, and the ProfileService, which works with the Profile API. Rather than use the existing code in the .NET Framework, the chapters on these subjects create their own implementation and use that to work with the server-based APIs.


In Part 3, Sams Teach Yourself ASP.NET Ajax in 24 Hours illustrates some of the more advanced capabilities of the ASP.NET AJAX Framework, namely debugging and tracing capabilities, the Futures CTP, localizing and globalizing an application, and extending ASP.NET AJAX. The information on these subjects was helpful, but I personally was hoping for the book to go into more details on the subject.


The book wraps up with building an e-commerce site. It looks at the building blocks that ASP.NET provides (such as the login, create user wizard, site map providers, and more, that make up a good e-commerce Web site). It complements these components with ASP.NET AJAX, using the ASP.NET AJAX controls and AJAX control toolkit to add rich UI functionality.

This example doesn t stop at the UI; it also includes a walkthrough of the database, including the ASP.NET table structure that the aspnet_regsql utility installs. The data structure is always a vital part of the application; this chapter discusses the appropriate design for this sample system. It also shows how to set up a strongly-typed dataset used to access the data within the application, and how those data set objects can be bound to the database.


Overall, I think Sams Teach Yourself ASP.NET Ajax in 24 Hours would be best for people at the beginner level, or some intermediate skill levels. People at the intermediate level may find themselves skipping several chapters of the book because the book is designed to get people up to speed with what AJAX and the ASP.NET AJAX Framework is all about, not necessarily how to solve a complex problem with ASP.NET AJAX. The book does cover a lot of topics; some are well-covered, with several examples. Some chapters are a little light on subject material, not covering all of the aspects related to a particular topic.


Brian Mains


Title: Sams Teach Yourself ASP.NET Ajax in 24 Hours

Authors: Joydip Kanjilal and Sriram Putrevu

Publisher: SAMS

ISBN: 978-0-672-32967-8

Web Site:

Price: US$34.99

Page Count: 408



Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.