Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the point of ASP.net AJAX in ASP.net MVC?

So ASP.net MVC by default ships with both JQuery and ASP.net Ajax. While the use cases of JQuery are obvious and plenty, I just wonder what the point of ASP.net Ajax is? If I just have my Controller Actions return JSON, I don't need it? Also, any "old" ASP.net controls only work if you use the Webforms view Engine (I think I want to use another one, but that's not the point).

What has ASP.net Ajax to offer in an MVC Environment?

like image 215
Michael Stum Avatar asked Apr 27 '09 18:04

Michael Stum


People also ask

Why AJAX is used in MVC?

As you might be knowing, Ajax is a shorthand for Asynchronous JavaScript and XML. The MVC Framework contains built-in support for unobtrusive Ajax. You can use the helper methods to define your Ajax features without adding a code throughout all the views. This feature in MVC is based on the jQuery features.

What is the use of Ajax in asp net?

AJAX is used to create dynamic web pages that do not require page reloading when any part of the whole web page content or the whole web page content is changed. The server data exchange is asynchronous in nature and AJAX in ASP.net uses multiple technologies like XSLT, XHTML, CSS, JavaScript, etc.

What is AJAX call in ASP.NET MVC?

It is a client-side script that communicates to and from a server/database without the need for a postback or a complete page refresh. The Ajax speeds up response time. In other words, Ajax is the method of exchanging data with a server, and updating parts of a web page, without reloading the entire page.

What is the use of AJAX () method?

The ajax() method is used to perform an AJAX (asynchronous HTTP) request. All jQuery AJAX methods use the ajax() method. This method is mostly used for requests where the other methods cannot be used.


1 Answers

Familiarity for those who are used to using the ASP.NET AJAX.

like image 94
TheTXI Avatar answered Oct 18 '22 02:10

TheTXI