Summary
In this chapter, you learned what a view engine is and how to build a view using the Razor view engine. We also discussed the different programming constructs that you can make use of in Razor to produce the desired HTML output. Then, you learned about layout and how to provide a consistent site structure across all of the pages in your ASP.NET MVC application. Later in the chapter, we discussed how to promote reusability using partial views, with an example. Finally, you learned how to use Tag Helpers to produce clean HTML.