Working with Views

  • Adam Freeman


This chapter will cover another big building block in the MVC framework—views, the Vin 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.


Code Block Visual Studio Partial View View Model Home City 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Adam Freeman 2011

Authors and Affiliations

  • Adam Freeman

There are no affiliations available

Personalised recommendations