Blackhawk Network Interview Question

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

Interview Answer

Anonymous

Jul 8, 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.