We need men who can dream of things that never were.
—John F. Kennedy
There are very few applications available in which the presentation layer is missing or not that important. In the vast majority of cases, the user interface and, even more, the user experience are all that matter to users. As far as web applications are concerned, the effectiveness of the user interface also depends on the time it takes to refresh the view when changes are applied or more information is requested. The full refresh of the page is an issue that Ajax-based techniques might provide significant help with.
In this chapter, I’ll first review the structure of a Razor view—the template language used to arrange HTML views in ASP.NET MVC—and ...