Blackhawk Network interview question

Explain the difference between Dependency Injection and Dependency Inversion in ASP.NET Core

Interview Answer

Anonymous

8 July 2026

I explained that Dependency Injection is a design pattern used to inject dependencies into a class instead of creating them inside the class, while Dependency Inversion is a SOLID principle that states high-level modules should depend on abstractions rather than concrete implementations. I also explained how ASP.NET Core provides a built-in DI container using IServiceCollection.