Why use Ninject?

Ninject is a lightweight Dependency Injection framework for .NET applications. It helps you split your application into a collection of loosely-coupled, highly-cohesive pieces, and then glues them back together in a flexible manner. By using Ninject to support your software's architecture, your code will become easier to write, reuse, test, and modify. Instead of relying on reflection for invocation, Ninject takes advantage of lightweight code generation in the CLR (Common Language Runtime). This can result in a dramatic (8-50x) improvement in performance in many situations. Ninject includes many advanced features. For example, Ninject was the first dependency injector to support contextual binding, in which a different concrete ...

Get Mastering Ninject for Dependency Injection now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.