Introduction to Microsoft ASP.NET AJAX
AJAX stands for Asynchronous JavaScript and XML, and it's a sort of blanket term coined in 2005 to indicate rich, highly interactive, and responsive Web applications that do a lot of work on the client and place out-of-band calls to the server. An out-of-band call is a server request that results in a page update rather than a page replacement. The net effect is that an AJAX Web application tends to look like a classic desktop Microsoft Windows application and has advanced features such as drag-and-drop and asynchronous tasks, a strongly responsive and nonflickering user interface, and far less user frustration.
ASP.NET AJAX Extensions is a significant extension to the ASP.NET platform that makes AJAX-style functionalities possible and effective. ASP.NET AJAX Extensions is designed to be part of ASP.NET and, therefore, seamlessly integrate with the existing platform and application model.
Architecturally speaking, the ASP.NET AJAX framework is made of two distinct elements: a client script library and a set of server extensions. The client script library is entirely written in JavaScript and, therefore, works with any modern browser.
Server extensions are fully integrated with ASP.NET server-based services and controls. As a result, developers can write rich Web pages using nearly the same approach they know from developing classic ASP.NET server-based pages.
Most ASP.NET AJAX developers are former ASP.NET developers and, as such, are familiar with the server-side development model based on controls. The server-centric programming model is the next big step in the evolution of the ASP.NET programming model. ASP.NET AJAX server controls are great, especially if you don't feel confident enough to create AJAX client scripts manually.
This book provides an overview of the ASP.NET AJAX framework with numerous examples to familiarize you with a variety of techniques and tools.
AJAX is a real breakthrough for ASP.NET developers and professionals. It makes cross-browser programming a reality and enables desktop-like functionalities over the Web.
The book is recommended for virtually any ASP.NET developer and professional. As mentioned, ASP.NET AJAX is the next big thing in the ASP.NET evolution and follows a key industry trend the AJAX model. In addition, ASP.NET AJAX goes beyond the classic AJAX model, pushing a framework that spans the client and server to provide an end-to-end solution for Web applications. As far as the Microsoft Web platform is concerned, ASP.NET AJAX Extensions weds rich functions with wide reac an old dream of Web professionals that comes true. At last. If you're a Web professional developing for Microsoft-based Web technologies, AJAX is your next big opportunity to seize. This book is your starting point. And even a bit more.
The book is divided into three parts: an overview of the platform and its building blocks, techniques to effectively enhance existing sites, and client-centric development. In the first part, you'll learn the basics of the AJAX model and the extensions made to the JavaScript language to back it. The second part is dedicated to the elements in the framework that you use to add new capabilities to existing server controls and to transform existing classic ASP.NET pages into full-fledged AJAX pages. Finally, the third part covers tools and techniques that express the real power of AJAX applications out-of-band calls to server code.
Content:
Part I ASP.NET AJAX Building Blocks
- 1 The AJAX Revolution
- The Paradigm Shift
Classic Web Applications
AJAX-Based Web Applications
The Role of Rich Browsers
The AJAX Core Engine
The XMLHttpRequest Object
Roll Your Own (Little) AJAX Framework
An HTTP Object Model
The Switch to the Document Object Model
Existing AJAX Frameworks for ASP.NET
ASP.NET AJAX in Person
Setting Up ASP.NET AJAX Extensions
Core Components
Conclusion
2 The Microsoft Client Library for AJAX
- JavaScript Language Extensions
Infrastructure for Extenssions
Object-Oriented Extensions
Core Components
The Sys.Component Object
The Network Stack
User-Interface Components
Other Components and Functionalities
Conclusion
Part II Adding AJAX Capabilities to a Site
- 3 The Pulsing Heart of ASP.NET AJAX.
- Configuration of ASP.NET AJAX
The web.config File
The Runtime Engine
The Script Manager Component
The ASP.NET ScriptManager Control
Script Loading
Script Error Handling
Conclusion
4 Partial Page Rendering
- Defining Updatable Regions
Generalities of the UpdatePanel Control
Enabling Partial Rendering
Testing the UpdatePanel Control
The Mechanics of Updatable Panels
Taking Control of Updatable Regions
Triggering the Panel Update
Triggering Periodic Partial Updates
Providing User Feedback During Partial Updates
Client-Side Events for a Partial Updates
Passing Data Items during Partial Updates
Animating Panels during Partial Updates
Conclusion
Table of Contents ix
5 The AJAX Control Toolkit
- Extender Controls
What Is an Extender, Anyway?
The ExtenderControl Class
Creating a Sample Extender
Introducing the AJAX Control Toolkit Get Ready for the Toolkit
What's in the AJAX Control Toolkit
The Accordion Control
Generalities of the Accordion Control
Using the Accordion Control
The Rating Control
Generalities of the Rating Control
Using the Rating Control
The ReorderList Control
Generalities of the ReorderList Control
Using the ReorderList Control
The TabContainer Control
Generalities of the TabContainer Control
Using the TabContainer Control
AJAX Control Toolkit Extenders
Panel Extenders
Button Extenders
Pop-up Extenders
User-Interface Extenders
Conclusion
Part III Client-Centric Development
- 6 Built-In Application Services
- Forms Authentication Services
The System Infrastructure for Authentication
Using the Authentication Service in an Application
User Profiling Services
The System Infrastructure for Profiling
x Table of Contents
Using the Profile Service in an Application
Conclusion
7 Remote Method Calls with ASP.NET AJAX
- Designing the Server API for Remote Calls
Defining the Contract of the Remote API
Implementing the Contract of the Remote API
Remote Calls via Web Services
Creating an AJAX Web Service
Consuming AJAX Web Services
Considerations for AJAX Web Services
Remote Calls via Page Methods
Creating Page Methods
Consuming Page Methods
Bridging External Web Services
Traditional Server-to-Server Approach
ASP.NET AJAX Futures Bridge Files
Conclusion
8 Building AJAX Applications with ASP.NET
- AJAX in Perspective
The Benefits of AJAX
The Downsides of AJAX
Patterns, Practices, and Services
Revisiting ASP.NET Starter Kits
The Jobs Site Starter Kit at a Glance
Reducing Page Flickering
Periodic Screen Refresh
Conclusion
Download Introduction to Microsoft ASP.NET AJAX(113 Pages PDF Files, 2.868 Mb)
Posted in :