I have been building a new .NET solution with Castle performing my DI. Its now at the stage where i would like to control the order in which my installers run. I have built individual
is it possible in Microsoft Unity 2.0 container framework to create singletons based on certain parameters.
I have two example classes class ClassToResolve { private List<CollectionItem> _coll; public ClassToResolve(List<CollectionItem> coll)
I am using creating one ObjectContext per-request concept. Technically, I am adding ObjectContext instance to HttpContext.Current.Items. But I do not know how to kill this instance properly. Is it saf
I have recently started to useDI in one of my projects. Forruntime dependent classes, I created correspondingAbstract factories. After following this pattern I end up having too many abstract factorie
With Unity (2.0) I register two named interfaces of IFoo, mapped to two different implementations: Container
Is it possible to use unity like so: container.Register(typeof(IMyType<car>)开发者_如何学运维, typeof(MyType1<car>));
This is an issue I\'ve been struggling with since I started using MVVM, first in WPF and now in Silverlight.
I have not done much IOC but from what I read and the examples I see on the internet it has confused me.
I have an IRepository< T > interface with many T\'s and several implementations (on-demand DB, web service, etc.). I use AutoFac to register IRepository\'s for many T\'s depending on the kind of re