ioc-container
Dependency Injection - right place to inject
Looking at this answer on SO, I am a bit confused by the following \"principle\": Apply the Hollywood Principle[详细]
2023-03-22 13:17 分类:问答how will container start ApplicationContext.xml file
I already have an application implemented in Struts. I am trying to move it to Spring so I am doing everything step by step. First plan is to implement IOC (DI). now I got my DAOs fixed, i got my appl[详细]
2023-03-22 07:22 分类:问答Setting up structure map in a c# console application
I\'m getting this error: StructureMap Exception Code:202 No Default Instance defined for PluginFamily My setup looks like:[详细]
2023-03-22 04:16 分类:问答Autofac RegisterDecorator Error
I\'m having some problems with the RegisterDecorator method in Autofac. I currently have a nameless implementation of IUserManager, registered like so:[详细]
2023-03-21 14:29 分类:问答should the NServicebus CastleWindsorBuilder register the bus into the container
I have the following code: public class MessageEndpoint : IConfigureThisEndpoint, AsA_Server, IWantCustomInitialization[详细]
2023-03-21 13:33 分类:问答MEF and DirectoryCatalog
Is there a way to safely use Directory开发者_如何学运维Catalog to handle if the directory doesn\'t exist?[详细]
2023-03-21 05:35 分类:问答Where should Unity containers be created and references be resolved?
Let\'s say I have a hash component called with a service contract called IHash.I have a component DLL that needs to use hashing.We are usign Unity to create a loosely coupled system.[详细]
2023-03-19 02:57 分类:问答MVC2 to MVC3 IOC problem
I just migrated from MVC2 to MVC3 and I got the following error when I build the project : RhinoIoCControllerFactory does not implement interface member System.Web.Mvc.IControllerFactory.GetControlle[详细]
2023-03-19 00:32 分类:问答Using IoC in extension methods
I am working on an ASP MVC 3 app and I\'m writing a custom html helper. It\'s nothing special or hugely complex, but it will need an instance of an interface from structure map. I know I can simply ca[详细]
2023-03-18 05:08 分类:问答Avoiding Service Locator Antipattern with legacy app not designed for IOC
I have read often that Service Locators in IOC are an anti-pattern. Last year we introduced IOC (Ninject specifically) to our application at work. The app is legacy, it\'s very big and it\'s fragmen[详细]
2023-03-16 20:06 分类:问答
加载中,请稍侯......