Top "Ninject" questions

NInject is a dependency injection framework for .NET applications.

Dependency Injection in WinForms using Ninject and Entity Framework

I am currently working on a project where we are converting our old DataSet, Stored Procedure WinForm application to use …

winforms entity-framework dependency-injection ninject
How to handle DBContext when using Ninject

I am trying to use Ninject and OpenAccess for the first time. Please help me with the following. Here is …

asp.net-mvc ninject telerik-open-access
How to Use Ninject

I have been trying to use Ninject today and have a couple of questions. First of all do I need …

c# asp.net-mvc dependency-injection ninject
Dependency injecting UserStore in OWIN startup using Ninject OWIN middleware

I am having problems creating a custom UserStore using dependency injection when creating an ApplicationUserManager using the OWIN request pipeline. …

c# asp.net dependency-injection ninject owin
Getting latest Ninject working with latest MVC 5 / Web Api 2?

I know there are several questions a bit like this one, but as I'm unable to locate any documentation and …

c# ninject asp.net-web-api2 asp.net-mvc-5.1
Accessing the Ninject Kernel Globally

This question is not specifically related to Ninject. It's more of a general coding question, but I'm posting it here …

asp.net-mvc ninject
How to use Ninject bootstrapper in WebApi OwinHost Startup?

I am migrating from IIS WebAPI to OwinHost. Utilizing the latest pre-release versions of nuget packages, I successfully used instructions …

c# asp.net-web-api ninject owin bootstrapper
Ninject.MVC5 not generating NinjectWebCommon.Cs

I'm developing a MVC5 project on Visual Studio 2017 Version 15.4. I'm getting unexpected result here what I never faced before. I've …

c# asp.net-mvc nuget ninject
Ninject - how and when to inject

I'm a newbie when it comes to DI and ninject and I'm struggling a bit about when the actual injection …

dependency-injection ninject
When to use Singleton vs Transient vs Request using Ninject and MongoDB

I'm not quite sure when I should use SingletonScope() vs TransientScope() vs RequestScope() when I do my binding in my …

c# asp.net-mvc mongodb ninject norm