Skip to Content
Programming ASP.NET Core, First edition
book

Programming ASP.NET Core, First edition

by Dino Esposito
May 2018
Intermediate to advanced content levelIntermediate to advanced
416 pages
13h 51m
English
Microsoft Press
Content preview from Programming ASP.NET Core, First edition

CHAPTER 5

ASP.NET MVC Views

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Modern Web Development with ASP.NET Core 3 - Second Edition

Modern Web Development with ASP.NET Core 3 - Second Edition

Ricardo Peres
Hands-On Full-Stack Web Development with ASP.NET Core

Hands-On Full-Stack Web Development with ASP.NET Core

Tamir Dresher, Amir Zuker, Shay Friedman

Publisher Resources

ISBN: 9781509304448