Chapter 9. AJAX in ASP.NET MVC

This chapter covers

  • Discussing our view on AJAX

  • Reviewing difficulties with Web Forms

  • Getting to know JavaScript libraries

  • Performing simple HTML replacement

  • Using JSON and XML responses

AJAX, or asynchronous JavaScript and XML, is a term coined by Jesse James Garret describing a clever new technique to make web applications more dynamic. AJAX introduced a new era of web applications. It’s a technique that uses the browser’s JavaScript capability to send a request to the server asynchronously. This enables applications to become richer and more user-friendly by updating small sections of the page without requiring a brutal full-page refresh. In today’s web, the vast majority of major websites have leveraged this technique ...

Get ASP.NET MVC in Action 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.