Downloading the Ninject.MVC3 package from NuGet creates this App_Start folder with a simple class in it; Which doesn\'t even compile out of the box, I might add.
I\'ve got a setup with Ninject and NHibernate like this. Now, if I have this scenario.. class HomeController : Controller
Is it possible to resolve conditionally to a correct ISession scope based upon a MVC Action attribute?
I have an interface ISomething with a method Start. I want to get all implementations of this interface (in multiple assemblies, the main one and all referenced ones) and call the Start method on appl
I\'m letting Ninject manage my ISession and ITransaction state in Fluent nHibnerate with the following registration method - I am wondering if it is sufficient control of transactions, or whether I ne
The samples I\'ve seen so far look like this: Write your code like this... public class Samurai { public IWeapon Weap开发者_运维问答on { get; private set; }
I am using asp.net mvc 3. I am using ninject 2.2.1.0 protected void Application_Start() { // Hook our DI stuff when application starts
I\'m trying to use Ninject.MockingKernel.Moq. I\'ve 2 problems: I\'ve to register all the types I want to mock. If I don\'t do that, the parameterless constructor of my class is called and that\'s n
I have an EF4.Model with Category table which will be using the NestedSet pattern to store child/parent relation, which I think means that EF4 cannot help with its factory methods in retrieving the ch
I want to setup Ninject to do a simple test, as well as demonstrate the ease-of-setup using Nuget. I want to resolve a sample service.