Let me have two very basic objects 开发者_如何学Pythonlike: public class View { public View(Controller controller)
Well, I\'m making my foray into this fantastic site with a question about the correct way to inject configuration settings into application components.So, the overview is : I have an application writt
So, I get a NullReferenceException thrown on a production server. It\'s not reproducible and happens once every ~100 request.
Let\'s say I have the following classes and interfaces in my MVC 2 project: Repositories: IRepository1, IRepository2, IRepository3
So we\'re working on converting some projects at work from Ninject to Autofac, and we\'ve stumbled on something really neat within Ninject that we can\'t figure out how to do in Autofac.In our applica
I am developing a .net c# application that开发者_如何学运维 uses dependency injection with spring.net and ran in to an issue. I have the following method:
Is it right at all to \"wrap\" a StandardKernel with the required NinjectModules in a static class in a separate, share开发者_运维知识库d library, and use that same library whenever injection is neede
I have been reading about IoC lately, and I think it would definitely come in handy in the WCF web-service I am developing. However, it seems that Ninject, StructureMap and Spring.Net (I only did chec
I have an Order class with the below constructor public Order(IProduct product, short count) { this._product = product;
I have a rather unusual problem and need some ideas. I maintain two codebases that are 99% identical. A new project has come along that under some runtime condition needs to use code base A and in ot