Chapter 12. Ajax in ASP.NET MVC

This chapter covers

  • Our view on Ajax
  • Difficulties with Web Forms
  • Getting to know JavaScript libraries
  • Performing simple HTML replacement
  • Using JSON and XML responses

Ajax (short for Asynchronous JavaScript and XML) is a term coined by Jesse James Garrett to describe a clever technique to make web applications more dynamic, and it has 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 use this technique to ...

Get ASP.NET MVC 2 in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.