May 2018
Intermediate to advanced
416 pages
13h 51m
English
It takes two to make an accident.
—Francis Scott Fitzgerald, “The Great Gatsby”
This chapter covers a few cross-cutting concerns of all web applications such as global configuration data, patterns for dealing with errors and exceptions, the design of the controller classes, and modern features like dependency injection to pass data across layers of code. In the design of core components of an ASP.NET Core application, the native Dependency Injection (DI) infrastructure plays a fundamental role.
Without further ado, let’s start taking a deeper look under the hood of the native DI infrastructure of the ASP.NET Core framework.
DI is a development pattern widely used to make ...