Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: Using non-Unity/MEF Dependency Injection

$
0
0
I'm starting a new WPF application and planning on using Prism 5. I've seen plenty of discussions regarding Unity vs. MEF, however I was wondering about using a wholly different DI container like LightInject.

I know that using a different DI container with Prism is possible, but has anyone actually done it? I know it involves a custom implementation of IServiceLocator inheriting from ServiceLocatorImplBase, but to before going down that road I'm trying to determine if I'm opening a can of worms. Perhaps its best to conform to Unity or MEF.

What is the level of effort, and are there any examples/posts regarding all the steps involved in using a non-Unity/MEF DI container?

Viewing all articles
Browse latest Browse all 1878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>