Dependency Injection

If we're used to work with modern languages such as .NET Core, ReactJS, AngularJS, or Angular, we most likely already know what Dependency Injection (DI from now on), as well as the huge amount of benefits it brings in terms of code reusability, testability, readability, simplicity, and so on. In the unlikely case you don't, we'll make fun of ourselves trying to shrink one of the most important code design patterns in the last 20 years in less than 20 words using a coding technique where a class receives its dependencies from external sources rather than directly instantiating them.

For the sake of simplicity, we will stop here; however, those who want to know more about this topic can take an extensive look at this great ...

Get ASP.NET Core 2 and Angular 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.