PacktLib: Mastering Ninject for Dependency Injection

Mastering Ninject for Dependency Injection

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

Understanding Dependency Injection

What is Dependency Injection?

How can DI help?

My First DI Application

DI Containers

Why use Ninject?

Summary

Getting Started with Ninject

Hello Ninject!

It's all about Binding

Object Lifetime

Ninject modules

XML configuration

Convention over configuration

Summary

Meeting Real-world Requirements

DI patterns and antipatterns

Multi binding and contextual binding

Custom providers

Dynamic factories

Summary

Ninject in Action

Windows Forms applications

WPF and Silverlight applications

ASP.NET MVC applications

WCF applications

ASP.NET Web Forms applications

Summary

Doing More with Extensions

Interception

Mocking Kernel

Extending Ninject

Summary

Index