May 2018
Intermediate to advanced
300 pages
7h 35m
English
Central to ASP.NET Core is DI. The framework provides built-in DI services to allow developers to create loosely coupled applications and prevent instantiation or construction of dependencies. Using the built-in DI services, your application code can be set up to use DI, and dependencies can be injected into methods in the Startup class. While the default DI container has some cool features, you can still use other known, matured DI containers in ASP.NET core applications.
You can configure your code to use DI in two modes: