O'Reilly logo

ASP.NET MVC in Action with MvcContrib, NHibernate, and More by Jimmy Bogard, Jeffrey Palermo, Ben Scheirman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. The view in depth

This chapter covers

  • Rendering views

  • Techniques for working with ViewData

  • Error reporting

  • Handling complexity

Views have long been abused in the Microsoft web application space. In Classic ASP, and in IDC/HTX before that, the view was the primary programming tool for the Microsoft-centric developer. Using the Server Page pattern, developers used IDC and ASP pages as transaction scripts to perform a single operation and render a screen. Each page has logic, behavior, and a UI. ASP.NET 1.0 sought to separate logic from the UI rendering to make applications easier to maintain and extend, because having logic intermixed with screen rendering had often proved to be an unworkable solution for many teams. Although it certainly ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required