Monday, October 23, 2006

ASP.NET Ajax Overview (Atlas)

perform significant portions of a Web application's page processing in the browser without requiring a round trip to the server. ASP.NET AJAX development technologies integrate ECMAScript (JavaScript) client script libraries with the ASP.NET 2.0 server-based development platform



Why would you use Ajax.NET?


new breed of Web application that has a number of advantages over traditional Web applications.


1. Better performance.
2. Extensive user interface features.
3. Partial-page updating.
4. Asynchronous postbacks.
5. Browser independence.




ASP.NET AJAX Architecture


The complete ASP.NET AJAX architecture consists of both the client script libraries and of server components




ASP.NET AJAX Client Components

The ASP.NET AJAX client script libraries consist of a number of JavaScript (.js) files that provide features for object-oriented development. This was not previously available to developers in a scripting environment, and it enables a new level of consistency and modularity in client scripting. The following layers are included in the ASP.NET AJAX script libraries:

1. A browser compatibility layer. This provides compatibility across most browsers for your ASP.NET AJAX scripts.

2. core services, which include a number of extensions to JavaScript, such as classes, namespaces, event handling, inheritance, data types, and object serialization.

3. An ASP.NET AJAX base class library, which includes components like string builders and extended error handling.

4. A networking layer that handles communication with Web-based services and applications, and managing the asynchronous remote method calls.

5. A UI layer that provides a number of ASP.NET AJAX client capabilities: behaviors, ASP.NET AJAX declarative syntax, UI components, and data binding.

6. A controls layer that creates ASP.NET AJAX-specific controls for client development. These controls can be data-bound, scripted, bound to ASP.NET AJAX behaviors such as drag and drop, and so on. This layer includes controls such as an auto-completion text box, ordinary form controls, a data-bound listview control, and navigation controls.



ASP.NET AJAX Server Components


Consists of ASP.NET Web services and ASP.NET server controls.

All ASP.NET features are available to ASP.NET AJAX applications.

ASP.NET AJAX also includes components in ASP.NET, including Web services and server controls. These components work in conjunction with ASP.NET AJAX client script libraries.

ASP.NET also includes ASP.NET AJAX server controls that resemble ASP.NET server controls, but emit ASP.NET AJAX client script. ASP.NET AJAX server controls simplify the process of producing ASP.NET AJAX client script, and are suitable for developers who want to focus on server-based development. ASP.NET AJAX includes a complete set of server controls that corresponds closely to the existing ASP.NET server controls, such as controls for buttons, labels, options, text boxes, check boxes, hyperlinks, and validation controls. All of these controls will be integrated into Visual Studio so that you can work with them in a designer just as you can with standard ASP.NET server controls.

No comments: