Top "Ninject" questions

NInject is a dependency injection framework for .NET applications.

Ninject in .NET Core

I am trying to install Ninject 3.3.2 in .NET Core, Released in May 2016. I got an error: The dependency Ninject 3.2.2 does …

c# asp.net .net ninject .net-core
How to use Ninject with ASP.NET Web API?

In MVC I simply make the class NinjectControllerFactory that implements DefaultControllerFactory interface then do some bindings in it. at last …

asp.net-mvc dependency-injection asp.net-web-api ninject
Ninject + MVC3 = InvalidOperationException: Sequence contains no elements

I created a new MVC3 project, hit F5, saw the sample page. Then I used NuGet to get the Ninject.…

asp.net-mvc-3 ninject
NHibernate, and odd "Session is Closed!" errors

Note: Now that I've typed this out, I have to apologize for the super long question, however, I think all …

c# asp.net nhibernate ninject
ASP.NET MVC 3 Site Loading Is Extremely Slow

I really don't know where to begin with this question, but the site I'm working on at times has some …

performance asp.net-mvc-3 entity-framework-4.1 ninject
Bind multiple implementations to the same interface with ninject

Why is it not possible for me to do the following in Ninect? Kernel.Bind<IPresenter>.To<…

c# ninject
How to bind Generic-type interfaces in Ninject

I'm fairly new to Ninject, and found myself stumbling when I came to implement a generic repository pattern. I want …

c# generics dependency-injection ninject generic-interface
Ninject sample application?

I want to get started using Dependency Injection and IOC and I want to get more into using Ninject. Are …

ninject
Ninject + Bind generic repository

I'm trying to Bind a generic IRepository<> interface to my generic Repository<> - however it always …

c# ioc-container ninject