ASP.NET Core : Overview Of Dependency Injection

added by DotNetKicks
2/6/2019 1:00:29 PM

1 Kicks, 256 Views

A software developer writes a lot of code that is tightly coupled; and when complexity grows, the code will eventually deteriorate into spaghetti code; in other words, the application design being a bad design. Dependency Injection (DI) is a pattern where objects are not responsible for creating their own dependencies.