Section 2: Designing for ASP.NET Core
This section introduces ASP.NET Core 5 Model View Controller (MVC) and its web API counterpart. We explore Razor Pages, MVC, and HTTP-based RESTful services. Then we explore a number of more advanced techniques used to push the MVC pattern a bit further, such as view models and data transfer objects.
Afterward, we dig into some classic design patterns to warm us up. Finally, we take those patterns to the next level using dependency injection, which is at the core of modern ASP.NET applications. All of those subjects lay out the fundamental knowledge that we will build upon until the end of the book and, most likely, for the rest of your career as an ASP.NET developer.
Finally, we dig into some ASP.NET-specific patterns, such as the options pattern and the .NET logging abstractions.
This section comprises the following chapters: