Dependency Injection in .NET, what we’ve learned since the first edition
Dependency Injection is a set of software design principles and patterns that enables you to develop loosely coupled code. One of the most authoritative descriptions of what it is and how it can be applied, can be found in Mark Seemann’s book “Dependency Injection in .NET”. Now, 8 years after the release of that book, with the help of a new coauthor, a second edition goes to print.
In this session, you will learn a few of the interesting changes the authors made in this new edition. For instance, why does the second edition consider Ambient Context an anti-pattern, and why should you care? Why is the Abstract Factory pattern more often than not a code smell? The session’s tips are practical; you’ll be able to apply them directly to make your code even more maintainable.
You are expected to have some rudimentary understanding of DI and C#, but having read either one of the editions is not a prerequisite.