Skip to Content
Pro ASP.NET Core MVC 2
book

Pro ASP.NET Core MVC 2

by Adam Freeman
October 2017
Intermediate to advanced content levelIntermediate to advanced
1024 pages
27h 39m
English
Apress
Content preview from Pro ASP.NET Core MVC 2

© Adam Freeman 2017

Adam Freeman, Pro ASP.NET Core MVC 2, https://doi.org/10.1007/978-1-4842-3150-0_21

21. Views

Adam Freeman

(1)London, UK

In Chapter 17, you saw how action methods can return ViewResult objects, which tells MVC to render a view and return an HTML response to the client.

Throughout this book, you have seen views being used in many examples already, so you know roughly what they do, but I dig into the details in this chapter.

I begin by showing you how MVC handles ViewResult objects using view engines, including demonstrating how to create a custom view engine. I also describe techniques for working effectively with the built-in Razor view engine, including the use of partial views and layout sections, which are essential topics ...

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

Pro Entity Framework Core 2 for ASP.NET Core MVC

Pro Entity Framework Core 2 for ASP.NET Core MVC

Adam Freeman

Publisher Resources

ISBN: 9781484231500Purchase bookPublisher Website