
Dependency Injection Principles, Practices, and Patterns
by Mark Seemann, Steven van Deursen · first published 2019
2mentions
2recommended by
2HN commenters
2020–2024first – last mentioned
100% recommend
Affiliate links. As an Amazon Associate I earn from qualifying purchases.
Dependency Injection Principles, Practices, and Patterns by Mark Seemann. Examples are in C# but it's a great book about OOP in general.
on “Inversion of Control Containers and the Dependency Injection pattern (2004)” ↗…what you’re doing with SQL but it’s definitely sad that there’s such a huge barrier between these modes. As for DI it can definitely be used fruitfully outside of a web application, I suggest the book Dependency Injection: Principles, Practices, and Patterns if you’re curious. It covers examples from ASP.NET Core MVC to console apps to GUI.
on “Astonishing Performance of .NET 5” ↗