Yesterday I received the eBook of Dependency Injection in .NET, written by my good friend Mark aka @ploeh. I had the pleasure of serving as technical proofreader during production, hence the early edition.
If you have not already read it through the MEAP program, you are in for a treat. No matter if you are new to DI or an old rat this book will enlighten you, show you when and when not to use DI, the pit-falls, the tricks, basically everything you need to know to get started or continue your quest.
The book is very rich on extensive examples, not just the often used Hello World-kind, which does not really cut in the real world.
The official web site should be up shortly.
When the printed copy comes out, I will look forward to sit in my favorite chair in my library, with a good cup of coffee and a signed copy – right, Mark? 🙂 – and read it again.
Table of Contents:
Part 1 – Putting Dependency Injection on the map
- A Dependency Injection tasting menu
- A comprehensive example
- DI Containers
Part 2 – DI catalog
- DI patterns
- DI anti-patterns
- DI refactorings
Part 3 – DIY DI
- Object Composition
- Object Lifetime
Part 4 – DI Containers
- Castle Windsor
Agree – read the book on MEAP and found it to be very well written. Great introduction to dependency injection with the bonus that the sample codel used c#.