Working with Views
暂无分享,去创建一个
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 tags.