StructureMap has the ability to apply conventi开发者_StackOverflowons when scanning. Thus IFoo => Foo, without explicit registration.
I would like to inject a dependency into an ASP.NET MVC model, but I can\'t figure out where in the pipeline to do开发者_如何学编程 the injection.
I\'m in the process of trying to hook StructureMap in to an existing webforms application. Since it\'s webforms I have to use Setter Injection, which is not ideal, but it\'s better than nothing.
I have a couple of method attributes which do some logging. Our logging code sits behind an interface (ILog) and I\'d like it if the attributes were only dependent upon that interface as opposed to an
There are so many IOC ch开发者_JS百科oices, that I don\'t know where to begin. I\'ve looked at Spring.NET, Unity, Ninject, Windsor, and StructureMap so far, and I have no idea what makes one better th
In my case I am using Castle Windsor as my IoC container. I would like to declare a component, where one of the constructor arguments will be set to an existing object at runtime, rather than having
I\'m trying to get into IOC containers, and I notice a large number of them are using xml configuration. Can anyone enlighten me as to why many new technologies are moving towards xml config/programmi
So I\'m working on my DI/IoC Container OpenNETCF.IoC and I\'ve got a (reasonable) feature request to add some form of lifecycle management for IDisposable items in the container collections.