Dependency Injection in .NET

Dependency Injection in .NET

作者: 
Mark Seemann
分类: 
语言: 
ISBN: 
9781935182504
出版日期: 
星期四, 九月 1, 2011

简介

Dependency Injection in .NET, winner of the 2013 Jolt Awards for Productivity, 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.

目录

foreword
preface
acknowledgments
about this book
about the cover illustration
PART 1 PUTTING DEPENDENCY INJECTION ON THE MAP
1 A Dependency Injection tasting menu
2 A comprehensive example
3 DI Containers
PART 2 DI CATALOG
4 DI patterns
5 DI anti-patterns
6 DI refactorings
PART 3 DIY DI
7 Object Composition
8 Object Lifetime
9 Interception
PART 4 DI CONTAINERS
10 Castle Windsor
11 StructureMap
12 Spring.NET
13 Autofac
14 Unity
15 MEF
resources
glossary
index