Views

After we've talked about how the application works from the server side, it's time to look at the client side. In this chapter, we will cover the visual side of a Model-View-Controller (MVC) app: the views.

A view in this context is a combination of HyperText Markup Language (HTML) and code that executes on the server side and whose output is combined and sent to the client at the end of the request.

To help achieve consistency and reusability, ASP.NET Core offers a couple of mechanisms, page layouts, and partial views that can be very handy. Also, because we may want to support different languages and cultures, we have built-in localization support, which helps provide a better user experience.

In this chapter, we will learn the following: ...

Get Modern Web Development with ASP.NET Core 3 - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.