Chapter 7. Ajax in ASP.NET MVC


This chapter covers
  • Unobtrusive Ajax using jQuery
  • ASP.NET MVC’s Ajax helpers
  • JSON responses and client-side templates
  • jQuery UI’s Autocomplete plugin


Most of the examples that we’ve looked at so far have focused on using the server-side components in ASP.NET MVC to render views and send them to the browser. But with the increased performance of modern web browsers, we can often move much of our rendering logic to the client. This can result in applications that are far more interactive and user friendly.

Although there are many client-side technologies available on today’s web (including Adobe Flash and Microsoft Silverlight), the most popular is undoubtedly JavaScript due to its ubiquitous support across ...

Get ASP.NET MVC 4 in Action now with the O’Reilly learning platform.

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