2 Building Websites Using ASP.NET Core MVC
Join our book community on Discord
https://packt.link/EarlyAccess/
This chapter is about building websites with a modern HTTP architecture on the server side using ASP.NET Core model-view-controller (MVC), including the models, views, and controllers that make up the main components of an ASP.NET Core MVC project, and how to use Bootstrap for quick user interface (UI) prototyping.
This chapter will cover the following topics:
- Setting up an ASP.NET Core MVC website
- Exploring an ASP.NET Core MVC website
- Prototyping with Bootstrap
- Customizing an ASP.NET Core MVC website
Setting up an ASP.NET Core MVC website
The MVC design pattern is useful for complex websites, where a formal structure is needed to manage that complexity. ASP.NET Core MVC uses technologies like Razor syntax, but allows a cleaner separation of responsibilities, sometimes called technical concerns, as shown in the following list:
- Models: Classes that represent the data entities...