May 2018
Intermediate to advanced
416 pages
13h 51m
English
You do not need to accept everything as true, you only have to accept it as necessary.
—Franz Kafka, “The Trial”
The majority of ASP.NET MVC requests require that HTML markup is served back to browsers. Architecturally speaking, there’s no difference at all between requests that return HTML markup and requests that return plain text or JSON data. However, because producing HTML markup might sometimes require a lot of work (and always require a lot of flexibility), ASP.NET MVC comes with a dedicated system component—the view engine—responsible for producing plain HTML for the browser to process. In doing so, the view engine mixes application data and a markup template to create HTML markup.
In this chapter, we’ll explore ...