tags:

views:

225

answers:

2

Hi all ,

I need your advice deciding on a new project architecture I'm going to implement.

Can I use MEF and Prism side by side?

Is it too complex to accomplish this?

Can make the same stuff Prism does with MEF?

Right now, two features Prism gives, but are not in MEF are Regions and the Event Aggregator. Can I do everything else with MEF, rather than Prism?

Thanks in advance ...

+1  A: 

A very quick Google search reveals you are not the only person thinking about this. I will provide you a few good results (this time ;-) ):

Here is Glenn Block (one of the developers of MEF) talking about it an linking to some pretty well implemented articles on the subject: http://blogs.msdn.com/gblock/archive/2010/01/03/mef-and-prism-exploration-mef-module-loading.aspx

Information about the use of MEF in the next version (4.0) of Prism: http://blogs.msdn.com/dphill/archive/2009/12/09/prism-and-mef.aspx

There's a lot more information out there. I searched for "MEF Prism" to find this info.

Hope this helps.

Anderson Imes
A: 

There is a MEF extensions project called MEFContrib, which provides integration of MEF and Unity, Prisms default IoC container: Unity Integration

gammelgul

related questions