C H A P T E R  25

Working with Views

This chapter will cover another big building block in the MVC framework—views, the V in MVC. As I explained earlier, a view is a template that contains instructions that the MVC framework follows to generate a response to a request. The MVC framework uses a view engine to render a view into HTML. The engine we will use is called Razor; introduced in MVC 3, it's a more elegant alternative to the traditional ASP.NET <% and %> tags.

Get Applied ASP.NET 4 in Context now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.