add ability to use different IoC in EntLib, just like PRISM allows. Not only Unity, but also MEF
This is possible with the current version (v.5.0) and the mechanism of configurators.
-
Alexey Smirnov commented
Let me explain, what I am talking about: this is a quote from http://msdn.microsoft.com/en-us/magazine/ee335709.aspx paper: "If you use the classic API, everything just works. A Unity container under the hood will be created and used. If you’re using a different DI container in your application and don’t want Unity in your process but are still using the classic API, you can configure your container using a configurator, wrap it in an IServiceLocator, stick it in EnterpriseLibraryContainer.Current, and then the façades will continue to work. Only now they're using your container of choice under the hood. We don’t actually supply any container configurators in the main Entlib project other than for Unity; our hope is that the community will implement them for other containers".
I mean, that it would be great if MEF container configurator would be added to Entlib 6.0 -
Dzmitry Lahoda commented
Feature is here. See Contrib project for examples.