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.
KeywordsCode Block Visual Studio Partial View View Model Home City
Unable to display preview. Download preview PDF.