Dependency Injection in .NET

Dependency Injection in .NET

English | 2011 | ISBN: 9781935182504 | 586 Pages | PDF | 12 MB


Dependency Injection in .NET presents core DI patterns in plain C# so you’ll fully understand how DI works, covers integration with standard Microsoft technologies like ASP.NET MVC, and teaches you to use DI frameworks like Structure Map, Castle Windsor, and Unity.
Dependency Injection in .NET introduces DI and provides a practical guide for applying it in .NET applications. The book presents the core patterns in plain C#, so you’ll fully understand how DI works. Then you’ll learn to integrate DI with standard Microsoft technologies like ASP.NET MVC, and to use DI frameworks like StructureMap, Castle Windsor, and Unity. By the end of the book, you’ll be comfortable applying this powerful technique in your everyday .NET development.
What’s Inside
Many C#-based examples
A catalog of DI patterns and anti-patterns
Using both Microsoft and open source DI frameworks