Ninject

Fork me on GitHub

Extensions from the community

Got a cool extension for Ninject that you want to share? Let us know, and we'll list it here.

Ninject.Web.Common

This is the base for all WEB extensions and the WCF extension. It must be installed whenever you use one of them.

Ninject.Web.Mvc

Allows integration between Ninject and ASP.NET MVC. MVC1 + MVC2 support are implemented by Nate Kohari.

Ninject.Web

Allows integration between Ninject and ASP.NET WebForms. Originally by Nate Kohari, ported to Ninject 2.0 by Ian Davis.

Ninject.Extensions.Wcf

Allows integration between Ninject and the Windows Communication Framework (WCF). Initially by Ian Davis, hugely refactored and improved by Remo Gloor.

Ninject.Extensions.Conventions

Provides configuration by conventions for Ninject.

Ninject.Extensions.Factory

Adds support for automatically cenerated fatories that create new instances using ninject.

Ninject.Extensions.Interception

Originally by Nate Kohari, ported to Ninject 2.0 and enhanced by Ian Davis

Ninject.Extensions.NamedScope

Added three new Scope types, InNamedScope to define that objects are the scope for their dependencies, InCallScope to define that one instance is created for each resolve on the kernel and InParentScope to add transient tracking support.

Ninject.Extensions.ContextPreservation

Preserves the context over factories. That way you know where the factory that issued the resolve request lives. This extension is often used together with Named Scope.

Ninject.Extensions.ChildKernel

Adds support for container hierarchies to Ninject.

Ninject.Extensions.DependencyCreation

Allows that at the creation of one objects several others are created too. This is usually used toghether with an event broker to create completely decoupled designs, where components do not know eachother directly anymore.

Ninject.Web.Mvc.FluentValidation

Adds support for MVC fluent validation.

Ninject.Extensions.Logging

Adds support for injection of loggers (log4net or nlog). Originally by Nate Kohari, ported to Ninject 2.0 by Ian Davis.

Ninject.Extensions.bbvEventBroker

Allows a many-to-many publish/subscribe model between loosely-coupled components held together by weaks events to automatically disconnect publishers/subscribers. This extension uses the powerful bbvEventBroker

Ninject.Extensions.WeakEventMessageBroker

Allows a many-to-many publish/subscribe model between loosely-coupled components held together by weaks events to automatically disconnect publishers/subscribers. Originally based on Ninject.Extensions.MessageBroker.

Ninject.Extensions.MessageBroker

Allows a many-to-many publish/subscribe model between loosely-coupled components. Originally by Nate Kohari, ported to Ninject 2.0 by Ian Davis.

Ninject.Extensions.Xml

Allows users to define bindings using XML rather than code. Originally by Nate Kohari. Greatly refactored and added extensibility support for the Ninject extensions by Remo Gloor.

Ninject.MockingKernel

Provides auto-mocking container infrastructure. Currently comes with built in support for Moq, RhinoMocks and NSubstitute.

Ninject.Extensions.WF

Provides support for the injection for workflows of the workflow foundation.

Ninject.Extensions.Quartz

Provides a default implementation for the Quartz.NET Job Scheduler. It provides an ISchedulerFactory implementation, and optionally provides the IScheduler as a singleton.

Ninject.Extensions.Azure

Adds support for Microsoft Azure Worker Roles.