+91-9650292515 torusacademy@gmail.com

Interview Question

(ASP.NET AJAX Interview Questions and Answers )

  • Q1. What is AJAX and what problem does it solve?

Ajax is a set of client side technologies that allows asynchronous communication between client and web server. In synchronous communication, complete round trip happens with each request/response action event when small data of the page to be refreshed. Ajax has solved this problem of posting entire information every time through asynchronous communication. XmlHttpRequest is the basic fundamental behind Ajax. This allows browser to communicate with server without making post backs.

  • Q2. What are the benefits of AJAX over Java applet?

The following are the benefits of AJAX over Java applet: AJAX applications are loaded in seconds, where as Applets takes longer time. The reason is, Applet applications are tend to load large libraries. AJAX provides standard look and feel for web applications, where as Applets provides GUI based look and feel. AJAX features can increase from a conventional web application, where as Applets uses complete programming process right from the scratch. Java version changes enable incompatibilities between Applet and java environments used by the browser, where as in AJAX incompatibilities are not the constraints.

  • Q3. What is the disadvantage of AJAX?

The disadvantages of AJAX are: Search engines would not be able to index an AJAX application. The server information cannot be accessed within AJAX. AJAX is not well integrated with any browser. ActiveX requests are enabled only in IE 5 and IE6 Data of all requests is URL-encoded, which increases the size of the request.

  • Q4. How is encoding handled in AJAX?

Ways to handle encoding in AJAX: Using encodeActionURL() method to refresh the complete page Using encodeResourceURL() method to partially update a page. List out browsers that support AJAX. All the available browsers cannot support AJAX. Here is the list of major browsers which support AJAX. 1. Mozilla Firefox 1.0 and above 2. Netscape version 7.1 and above 3. Apple Safari 1.2 and above. 4. Microsoft Internet Exporer 5 and above 5. Konqueror 6. Opera 7.6 and above

  • Q5. What are the basic goals of ASP.NET Ajax?

AJAX stands for Asynchronous JavaScript and XML. It is a web technology that helps the users create dynamic, client-centric, user-friendly, and interactive web applications.The AJAX-based applications look like Windows applications and they perform faster. Also, they are more efficient and user-friendly than previous web applications.

  • Q6. What are the components of the ASP.NET Ajax server extensions framework?

The ASP.NET Ajax server extensions framework includes the following: ASP.NET Ajax server controls Application services bridge Web services bridge

  • Q7. What are the basic Controls of ASP.NET AJAX?

There are some basic controls used in ASP.NET AJAX such as ScriptManager ScriplManagerProxy Timer UpdatePanel UpdateProgress

  • Q8. What are the platforms that are used in Ajax?


  • Q9. What is JSON?

JSON, the abbreviated form of JavaScript Object Notation, is a subset of JavaScript. It is lightweight and actually a good alternative to XML as a data interchange format.

  • Q10. What are the components of AJAX?

AJAX has various components and some of the importants are listed below JavaScript XML CSS DOM XmlHttpRequest object Script Manager class

  • Q11. What are the main uses of Ajax?

his technology can be used mainly in the following conditions When a client or a customer wants his web application to be more interactive,customer-centric, and capable of performing maximum actions with least effort. When the developers want their web pages to be more interactive with less resources. If a client application consists of data that needs to be changed or updated frequently.

  • Q12. What are the basic goals of ASP.NET Ajax?

The basic goals of ASP.NET Ajax are as follows : Reduced web server hits and network load Rich and interactive user interface Platform and architecture neutrality Support for both synchronous and asynchronous communication Provide a server- and client-side framework for seamless usage of Ajax in applications.

  • Q13. What is the fundamental behind Ajax?

XmlHttpRequest is the fundamental behind Ajax. This allows the browser to communicate to a back end server asynchronously.XmlHttpRequest object allows the browser to communicate with server without posting the whole page and only sending the necessary data asynchronously.