Understanding the connection between ASP.NET Core MVC and design principles
The whole ASP.NET Core framework is built on top of the design principles and patterns that we analyzed in Chapter 5, Applying a Microservice Architecture to Your Enterprise Application, Chapter 7, Interacting with Data in C# – Entity Framework Core, Chapter 10, Design Patterns and .NET 6 Implementation, Chapter 11, Understanding the Different Domains in Software Solutions, and Chapter 12, Implementing Code Reusability in C# 10.
Moreover, all framework functionalities are provided through DI so that each of them can be replaced by a customized counterpart without it affecting the remainder of the code. Moreover, these providers are not added individually to the DI engine; instead, they are grouped into collections properties of option objects (see the Loading configuration data and using it with the options framework subsection) for improved maintainability, and to conform to the Separation...