MEF v4 Release Date

Apr 30, 2010 at 3:18 PM

Hi,

  I know this is probably a bit premature, but any idea of a ball park release date for MEF v4? I'll not hold you to it but would be good to know if it's coming in around 2 months/6 months/12 months etc.

  Very interested in the PRISM and MEF interaction - I don't particularly want to use MEF, PRISM *and* UNITY. Any idea when PRISM and MET will be starting to work together? I'm happy taking Beta releases for now :-).

  I may be missing something but I don't see why you'd want to use unity if you've got MEF (assuming you've got control over what you are exporting). Am I right? (I won't tell the unity guys honest!). I understand that they are different, but they aren't *that* different.

  We've got a new project starting and I'd like to get an idea of what will be available when (i.e. should we wait for MEF v4).

  Thanks,

    John

 

Apr 30, 2010 at 5:10 PM
Hi jfstephe

MEF has recently shipped as part of .NET 4 and Silverlight 4.

Sent from my IPad.

On Apr 30, 2010, at 8:18 AM, "jfstephe" <notifications@codeplex.com> wrote:

From: jfstephe

Hi,

I know this is probably a bit premature, but any idea of a ball park release date for MEF v4? I'll not hold you to it but would be good to know if it's coming in around 2 months/6 months/12 months etc.

Very interested in the PRISM and MEF interaction - I don't particularly want to use MEF, PRISM *and* UNITY. Any idea when PRISM and MET will be starting to work together? I'm happy taking Beta releases for now :-).

I may be missing something but I don't see why you'd want to use unity if you've got MEF (assuming you've got control over what you are exporting). Am I right? (I won't tell the unity guys honest!). I understand that they are different, but they aren't *that* different.

We've got a new project starting and I'd like to get an idea of what will be available when (i.e. should we wait for MEF v4).

Thanks,

John

May 4, 2010 at 10:34 AM

Thanks for the quick response, but I don't think you didn't really answer my question (I've not had much coffee this morning so I could be wrong).

  I'm interested in the PRISM and MEF interaction - I don't particularly want to use MEF, PRISM *and* UNITY. Any idea when PRISM and MET will be starting to work together?

  I may be missing something but I don't see why you'd want to use unity if you've got MEF (assuming you've got control over what you are exporting). Am I right? (I won't tell the unity guys honest!). I understand that they are different, but they aren't *that* different.

  Just trying to work out when you would use which particular frameworks, there's so many it's hard to choose! :-)

  Many thanks,

    John

May 4, 2010 at 7:27 PM
Gotcha.

You do not have to use all 3, but it is an option and viable in some scenarios in particular when there is existing infrastructure not built on MEF.

Prism is for building composite UI applications, it includes UI specific bits for addressing composite UI concerns such as regions, commanding, etc, MEF however is general purpose and not focused on UI. The places where MEF and Prism overlap are mainly in the non-UI concerns such as modularity and component decoupling. Prism includes some module loading infrastructure which leverages a container behind the scenes. MEF can perform these functions in a very rich manner. For this reason Prism v4 is looking to build on top of / integrate with MEF. You can also today pull bits like EventAggregator and RegionManager and use them easily with MEF today. I have a post on this here: http://codebetter.com/blogs/glenn.block/archive/2009/12/02/mef-and-prism-to-be-or-not-to-be.aspx. Also check this:http://blogs.msdn.com/dphill/archive/2009/12/09/prism-and-mef.aspx

On the Unity vs MEF question (or both) it really depends on scenarios. You do not HAVE to use both. The choice of which depends on your use cases and there is overlap. I have a few posts that will give you some things to think about in arriving at your decision..

http://codebetter.com/blogs/glenn.block/archive/2009/08/16/should-i-use-mef-for-my-general-ioc-needs.asp

http://codebetter.com/blogs/glenn.block/archive/2009/11/01/should-i-use-mef-with-an-ioc-container.aspx

Hope this helps.
May 6, 2010 at 10:18 AM

Thanks. I just caught your interview at http://herdingcode.com/?p=28 from back in August. Good stuff :-).

I understand that it's still early days with this and look forward to seeing how people use this over/alongside existing frameworks etc.

Thanks again,

  J