Ninject - Open Source Dependency Injector for .Net
Ninject is a lightweight dependency injection framework for .NET applications. It is one of the several Inversion od Control(loc) containers available for .Net. It helps us to split our application into a collection of loosely-coupled,highly cohesive pieces and then glue them back together in a flexible manner. It makes our code easier to write, reuse, test and modify.
Why use Ninject
It uses a fluent interface to declare type bindings whereas the other frameworks rely on XML configuration files. It is a lightweight framework and aims to keep things simple and straightforward. It uses an extremely flexible form of binding called contextual binding.
How Ninject works
Ninject Setup
Ninject is a pre-built dll which is available for download from github and have to reference Ninject.dll in your project.