.NET - ASP.NET AJAX

Why should I learn to solve .NET: ASP.NET AJAX technical interview questions?

Learn and practise solving .NET: ASP.NET AJAX technical interview questions and answers to enhance your skills for clearing technical interviews, HR interviews, campus interviews, and placement tests.

Where can I get technical .NET: ASP.NET AJAX technical interview questions and answers with explanations?

IndiaBIX provides you with lots of fully solved .NET: ASP.NET AJAX technical interview questions and answers with a short answer description. You can download .NET: ASP.NET AJAX technical interview questions and answers as PDF files or e-books.

How do I answer .NET: ASP.NET AJAX technical interview questions from various companies?

You can answer all kinds of .NET: ASP.NET AJAX technical interview questions by practising the given exercises (short answer type). You can also find the frequently asked .NET: ASP.NET AJAX technical interview questions with answers from various companies, such as TCS, Wipro, Infosys, CTS, IBM, etc.

1.
What is ASP.NET AJAX?
ASP.NET AJAX, mostly called AJAX, is a set of extensions of ASP.NET. It is developed by Microsoft to implement AJAX functionalities in Web applications. ASP.NET AJAX provides a set of components that enable the developers to develop applications that can update only a specified portion of data without refreshing the entire page. The ASP.NET AJAX works with the AJAX Library that uses object-oriented programming (OOP) to develop rich Web applications that communicate with the server using asynchronous postback.

2.
What is the difference between synchronous postback and asynchronous postback?
The difference between synchronous and asynchronous postback is as follows:
  • Asynchronous postback renders only the required part of the page; whereas, synchronous postback renders the entire page for any postback.
  • Asynchronous postback executes only one postback at a time, that is, if you have two buttons doing asynchronous postback, the actions will be performed one by one; whereas, synchronous postback executes all the actions at once.
  • Asynchronous postback only modifies the update panel that raises the postback; whereas, synchronous postback modifies the entire page.

3.
What technologies are being used in AJAX?
AJAX uses four technologies, which are as follows:
  • JavaScript
  • XMLHttpRequest
  • Document Object Model (DOM)
  • Extensible HTML (XHTML) and Cascading Style Sheets (CSS)

4.
Why do we use the XMLHttpRequest object in AJAX?
The XMLHttpRequest object is used by JavaScript to transfer XML and other text data between client and server. The XMLHttpRequest object allows a client-side script to perform an HTTP request. AJAX applications use the XMLHttpRequest object so that the browser can communicate to the server without requiring a postback of the entire page. In earlier versions of Internet Explorer, MSXML ActiveX component is liable to provide this functionality; whereas, Internet Explorer 7 and other browsers, such as Mozilla Firefox, XMLHttpRequest is not liable to.