March 2021
Intermediate to advanced
610 pages
11h 56m
English
A big issue that an enterprise application can face is the complexity of wiring different elements together and managing their lifetimes. To address this, we use the Inversion of Control (IoC) principle, which recommends removing the dependency between objects. By delegating the flow of control, IoC makes the program extensible and increases the modularity. Events, callback delegates, the observer pattern, and Dependency Injection (DI) are some of the ways to achieve IoC.
In this chapter, we will learn about the following:
By the end of this chapter, you'll have a good idea of DI, leveraging DI in .NET 5 applications, ...