I\'ve been slowly teaching myself the fundamentals of interface driven programming and I\'m struggling to get my head round a few principles regarding inversion of control specifically with Ninject.
How I can use multiple parameters in Ninject syntax like following? 开发者_运维问答Bind<IMyRepository>()
I am loading a type from an external assembly and want to create an instance of the type. However, this type/class is setup for constructor injection by objects currently being managed/bound by Ninjec
I have just started to work with Ninject 2.0 with ASP.NET MVC 2. So, I have an interface IMongoRepository and class MongoRepository.
A little question regarding Ninject. I use a WCF \'duplex channel\' to communicate with a service. The channel is defined as an interface, lets call it IMyChannel for simplicity. To instantiate a cha
Is it possible to add a new object that Ninject should be responsible for (lifetime, injection etc.) in an ASP.NET application after the Application_Started event开发者_如何学Python is fired?
I\'m just getting started with dependency injection. I\'ve read the Ninject wiki and its very clear on how to inject dependencies where a single instance of the dependency is required, using construct
I am having trouble injecting AutoMapper into an ASP.NET MVC 2 application using Ninject. I used Jimmy Bogard\'s post on AutoMapper and StructureMap type Configuration as a guide.
I am trying to convert some actions within a controller to run asynchronously in an mvc project that is using ninject for dependency injection. I\'m following the steps by inheriting AsyncController a
I\'d like to do something like this: ConcreteClass foo = ninject2.Get<ConcreteClass>( new ConstructorArgument(\"bar\", \"qux\"));