更新时间:2021-08-04 10:12:08
封面
版权信息
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Chapter 1. Understanding Dependency Injection
What is Dependency Injection?
How can DI help?
My First DI Application
DI Containers
Why use Ninject?
Summary
Chapter 2. Getting Started with Ninject
Hello Ninject!
It's all about Binding
Object Lifetime
Ninject modules
XML configuration
Convention over configuration
Chapter 3. Meeting Real-world Requirements
DI patterns and antipatterns
Multi binding and contextual binding
Custom providers
Dynamic factories
Chapter 4. Ninject in Action
Windows Forms applications
WPF and Silverlight applications
ASP.NET MVC applications
WCF applications
ASP.NET Web Forms applications
Chapter 5. Doing More with Extensions
Interception
Mocking Kernel
Extending Ninject
Index