jQuery and AJAX

The jQuery framework includes methods that make writing Asynchronous JavaScript (AJAX) much easier. These methods are used to call a service on the server and receive the results (typically as a JSON message or an HTML partial view). You then use these results to update sections of your page.

The jQuery AJAX methods are key components of building applications that are perceived as responsive to the user’s eyes. A lot of your code has to execute on the server to get data, save results, and more. Typically, this means page refresh. With AJAX, you do not need to refresh an entire page on post. Instead, it can simply update a portion of the page much like a native application.

Writing and calling services are covered in Chapter 19 ...

Get Microsoft Visual Studio 2015 Unleashed, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.