Chapter 2. ASP.NET MVC Views

Design is not just what it looks like and feels like. Design is how it works.

Steve Jobs

In ASP.NET MVC, any request is resolved in terms of an action being executed on some controller. Even for a newcomer, this point is relatively easy to understand and figure out. But there’s another aspect of the request that the newcomer often has difficulty making sense of—the generation of the HTML for the browser.

In ASP.NET Web Forms, you don’t even think of an action—you think of a page, and a page incorporates both logic and view. In ASP.NET Web Forms, you see the implementation of a functional need as the page that performs the task and generates the response you expect for it. Imagine you’re working on the use-case for a ...

Get Programming Microsoft® ASP.NET MVC now with O’Reilly online learning.

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