ASP.NET AJAX
   HOME

TheInfoList



OR:

ASP.NET AJAX, formerly called Atlas, is a set of extensions to
ASP.NET ASP.NET is an open-source, server-side web-application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, applications and services. The name stan ...
developed by
Microsoft Microsoft Corporation is an American multinational technology corporation producing computer software, consumer electronics, personal computers, and related services headquartered at the Microsoft Redmond campus located in Redmond, Washing ...
for implementing Ajax functionality. It is released under the
Microsoft Public License The Shared Source Initiative (SSI) is a source-available software licensing scheme launched by Microsoft in May 2001. The program includes a spectrum of technologies and licenses, and most of its source code offerings are available for download aft ...
(Ms-PL).ScottGu's Blog - ASP.NET AJAX 1.0 Released
/ref>


Clients supporting Ajax

ASP.NET AJAX runs on the following browsers: * Microsoft
Internet Explorer Internet Explorer (formerly Microsoft Internet Explorer and Windows Internet Explorer, commonly abbreviated IE or MSIE) is a series of graphical user interface, graphical web browsers developed by Microsoft which was used in the Microsoft Wind ...
(>= 6.0) *
Mozilla Firefox Mozilla Firefox, or simply Firefox, is a free and open-source web browser developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation. It uses the Gecko rendering engine to display web pages, which implements current and a ...
(>= 1.5) *
Opera Opera is a form of theatre in which music is a fundamental component and dramatic roles are taken by singers. Such a "work" (the literal translation of the Italian word "opera") is typically a collaboration between a composer and a librett ...
(>= 9.0) *
Apple Safari Safari is a web browser developed by Apple. It is built into macOS, iOS, and iPadOS, and uses Apple's open-source browser engine, WebKit, which was derived from KHTML. Safari was introduced in Mac OS X Panther in January 2003. It was includ ...
(>= 2.0) *
Google Chrome Google Chrome is a cross-platform web browser developed by Google. It was first released in 2008 for Microsoft Windows, built with free software components from Apple WebKit and Mozilla Firefox. Versions were later released for Linux, macOS ...
(>= 5)


ASP.NET AJAX Suite

At present, the ASP.NET AJAX suite consists of the following components and packages: * Microsoft Now Launched Ajax Library 4.0, which supports Data Driven Web Applications. * Microsoft Ajax Library 3.5, which is a JavaScript library that provides the client-side features of the ASP.NET AJAX framework. Integrated in ASP.NET 3.5, the library is also available as a separate download for use in other environments, such as
PHP PHP is a general-purpose scripting language geared toward web development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1993 and released in 1995. The PHP reference implementation is now produced by The PHP Group ...
. * A server framework – included in ASP.NET 3.5 – for building Ajax-enabled ASP.NET server controls. These components are also available for ASP.NET 2.0 in a separate package called ASP.NET AJAX 1.0 Extensions. * ASP.NET 2.0 AJAX Templates, a package with a set of Visual Studio templates for building ASP.NET AJAX applications with ASP.NET 2.0 and Visual Studio 2008. * ASP.NET AJAX Preview, a package with the new features that will be part of the future versions of the framework.


Microsoft Ajax Library

The Microsoft Ajax Library is a JavaScript library that provides the features for the client portion of the ASP.NET AJAX framework. * Components – The library provides an infrastructure to build either visual or non-visual JavaScript components. A global JavaScript object – SysApplication – is responsible for managing the lifecycle of client components. * JavaScript extensions – An enhanced type system is introduced to emulate object-oriented constructs such as namespaces, classes and interfaces; and to perform reflection on client types. * Abstraction API – Common operations on the DOM (retrieving elements, setting styles and other manipulations) are automatically translated by the library into browser-specific calls. * Ajax – A set of client components is provided to handle Ajax requests and web-service calls. * Application Services – The library allows accessing the ASP.NET Membership, Authentication, Roles and Profile services from the client side. Recently, new features have been announced as part of the ASP.NET AJAX 4.0 release: * Template Engine – Allows displaying data on the client side by using HTML templates and a custom binding notation. This approach avoids performing page rendering on the server side. * Declarative instantiation of client components – Allows registration, instantiation and configuration of client components using markup code, without writing any imperative JavaScript code. * Live Bindings – Synchronize "element properties".


The UpdatePanel Control

The UpdatePanel is an ASP.NET server control that updates portions of a web page without reloading it. Through a mechanism called asynchronous
postback In web development, a postback is an POST (HTTP), HTTP POST to the same page that the Form (HTML), form is on. In other words, the contents of the form are ''POST''ed ''back'' to the same URL as the form. Postbacks are commonly seen in edit forms, ...
, the HTML for the region of the page wrapped by the control is sent by the server asynchronously through an Ajax request. The ASP.NET controls that have been specified as content in an UpdatePanel are able to cause either synchronous (traditional) or asynchronous postbacks, by means of triggers. A trigger is an event coming from an ASP.NET control that causes an UpdatePanel to refresh its contents. Through triggers, an asynchronous postback can be started also by controls that are declared outside the region of the ASP.NET page wrapped by the UpdatePanel control. In the following code, only the content of the Update control (the span element that displays the current date and time) is re-rendered every time the button is clicked. <%= DateTime.Now %>


Web-services and JSON

ASP.NET AJAX framework brings
JSON JSON (JavaScript Object Notation, pronounced ; also ) is an open standard file format and data interchange format that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and arrays (or other ser ...
serialization features to the ASP.NET web-services and allows calling web-services from client-side JavaScript, even using third-party JavaScript-libraries like jQuery.


See also

*
Ajax framework Ajax may refer to: Greek mythology and tragedy * Ajax the Great, a Greek mythological hero, son of King Telamon and Periboea * Ajax the Lesser, a Greek mythological hero, son of Oileus, the king of Locris * ''Ajax'' (play), by the ancient Greek ...


References


Further reading

*


External links


ASP.NET AJAX (formerly "Atlas")

Atlas At Last : ASP.NET Atlas Powers the AJAX-Style Sites You’ve Been Waiting For
{{DEFAULTSORT:Asp.Net Ajax Ajax (programming) AJAX Free and open-source software Microsoft free software Software using the MS-PL license