Ok, I feel like a total idiot. I have read the docs and still cant get this working with Ninject. public class ContextAdapter:IDbSetProvider
Inject attribute is not working for field. [Inject] public MyContext context; //Not injected [Inject] public MyContext context {get; set;} //Injected
I started to use Ninject , on this relatively small project and i have run into a problem: i have this class
So I m just trying to test my modules, normally i would go and create a Kernel with the given module and then try to get an instance, however t开发者_开发问答his scenario involves a few modules and it
I am attempting to create a simple bootstrapper. My boostrapper code looks like: public static void Run()
Here is the scenario. I have a WCF service, when this service is called it passes control to an instance of another class (created via Ninject). In that class I need to do some work, specifically with
I am having trouble defining bindings using ninject. I am in a standard ASP.NET WebForms application. I have defined an http handler to Inject dependencies in pages and controls (Property injection).
I\'ve been (happily) using Ninject for a while now with some basic scenarios, and would like to give it contro开发者_开发技巧l of my logging. I noted the existence of the Ninject.Extensions.Logging na
There is bound to be something obvious I\'m overlooking - there usually is when I have problems like this.
First, sorry for the big post (I\'ve tried to do some research first) and for the mix of technologies on the same question (ASP.NET MVC 3, Ninject and MvcContrib).