Please enable Javascript to correctly display the contents on Dot Net Tricks!

Introduction to Ajax

  Author : Shailendra Chauhan
Posted On : 02 Feb 2010
Total Views : 8,040   
Updated On : 04 Oct 2013
 

AJAX stands for Asynchronous JavaScript and XML. Ajax is a web based technique and a combination of commonly used techniques like HTML/XHTML, CSS, XML/XSLT, Document Object Model (DOM), JavaScript and the XMLHttpRequest object, to create Rich Internet Applications (RIA).

Ajax allows the user to interact with a web server asynchronously, without using a plug-in. This asynchronous interaction of user with the web server is possible with the help of XMLHttpRequest object found in browsers.

Advantages of AJAX

  1. AJAX is platform independent means it is a cross platform technology that can be used with any browsers; since it is based on XML & JavaScript.

  2. AJAX makes your application more user friendly, faster, and more interactive.

  3. With AJAX, JavaScript script directly communicate with the server with the help of XMLHttpRequest object and can exchange data with the server, without reloading the page.

  4. AJAX uses asynchronous data transfer (HTTP requests) between the browser and the web server, by allowing web pages to request small bits of information from the server instead of entire pages.

  5. Ajax minimize the round trips to the server.

Disadvantage of AJAX

  1. AJAX is based on JavaScript and different browser implement JavaScript different way. Hence your application may behave differently on different browsers. Also, sometimes you need to write browser specific code to implement your application functionality.

  2. If JavaScript is disabled with in the browser, then AJAX will not be able to perform any work.

  3. It is difficult to bookmark a specific state of the web page since page changes dynamically.

What is Asp.Net AJAX?

ASP.NET AJAX is an extension to Asp.Net, developed by Microsoft to make dynamic, client-centric, user-friendly, and interactive web applications. ASP.NET AJAX has its own AJAX Library and AJAX controls to develop rich Web applications that communicate with the server using asynchronous postback.

What do you think?

I hope you will enjoy the tips while programming with Asp.Net AJAX. I would like to have feedback from my blog readers. Your valuable feedback, question, or comments about this article are always welcome.



Free Interview Books
 
COMMENTS (0)
3 APR
Master Class Fast Track MVC 5 with Angular2 Development (Online)

10:30 AM -03:30 PM IST (Fast Track)

Know More
25 MAR
MEAN Stack 2 Development (Classroom)

11:00 AM-12:30 PM

Know More
25 MAR
ASP.NET MVC with Angular2 Development (Classroom)

3:00 PM-4:30 PM

Know More
25 MAR
Xamarin Forms : Build Cross-platform Apps (Classroom)

8:00 AM-9:30AM

Know More
21 MAR
ASP.NET MVC with Angular2 Development (Online)

09:00 PM - 11:00 PM IST( TUS, THR, SAT)

6 MAR
ASP.NET MVC with Angular2 Development (Online)

07:00 AM - 09:00 AM IST( MON, WED, FRI)

25 FEB
ASP.NET MVC with Angular2 Development (Classroom)

05:00 PM-06:30 PM

31 JAN
ASP.NET MVC with Angular2 Development (Online)

07:00 AM-09:00 AM IST(Tuesday & Thursday)

30 JAN
NODEJS & MEAN Stack 2.x Development (Online)

09:00 PM-11:00 PM IST( MON, WED, FRI)

31 DEC
ASP.NET MVC with AngularJS Development (Classroom)

09:30 AM-11:00 AM

BROWSE BY CATEGORY
 
 
LIKE US ON FACEBOOK
 

Professional Speaks

+