Asp.Net Ajax Interview Questions and Answers for Experienced - 1

Question: 1

What are the differences between AJAX and JavaScript?

The differences between AJAX and JavaScript are given as follows:

AJAX sends request the server and does not wait for the response. It performs other operations on the page during that time. JavaScript make a request to the server and waits for response.

AJAX does not require the page to refresh for downloading the whole page while JavaScript manages and controls a Web page after being downloaded

AJAX minimizes the overload on the server since the script needs to request once while JavaScript posts a request that updates the script every time.

Question: 2

What are the components of the ASP.NET AJAX architecture?

You can divide the ASP.NET AJAX architecture into two components

AJAX client architecture and

AJAX server architecture.

Question: 3

What is JSON?

JSON is an abbreviation of JavaScript Object Notation.

It is a safe and reliable data interchange format in JavaScript, which is easy to understand not only for the users but also for the machines.

Question: 4

What is the difference between synchronous post back and asynchronous post back?

The difference between synchronous and asynchronous post back is as follows

Asynchronous post back renders only the required part of the page; whereas, synchronous post back renders the entire page for any post back.

Asynchronous post back executes only one post back at a time, that is, if you have two buttons doing asynchronous post back, the actions will be performed one by one; whereas, synchronous post back executes all the actions at once.

Asynchronous post back only modifies the update panel that raises the post back; whereas, synchronous post back modifies the entire page.

Question: 5

Why do we use the Update Progress control in AJAX?

The Update Progress control is somewhat related to the Update Panel control.

The update Progress control enables you to design a user-friendly interface when a Web page consists of a number of Update Panel controls for partial-page rendering.

The Update Progress control makes you aware of the status information about the partial-page updates in the Update Panel control.

Related Questions