MEF Support?

May 13, 2011 at 10:08 AM

I'm currently evaluating this amazing framework and I wonder whether it is planned to support MEF in the near future or not. I'm asking because MEF comes "out-of-the-box" for those who use .NET 4.0 and Unity is still an additional library to carry around.

May 13, 2011 at 10:12 AM


We currently have no plans for supporting MEF, but if enough people request it, we will implement it. Out of my head it's not that hard to implement support for it.


You can create a new issue (task) for it, and we will schedule it for (probably) 1.5 (1.4 is almost final now).


Best regards,


May 13, 2011 at 11:28 AM

Hello Geert,

thanks for the reply. I'll create an issue on this and I'm curious about 1.4 ...



May 13, 2011 at 11:33 AM

It will support .NET 4.0 and WP7, so quite a big release (but not if you are interested in Silverlight). Of course it also contains lots of small improvements. For a detailed list, see this file:

Jul 25, 2011 at 8:03 AM

i'm also requesting  for supporting MEF      there do  i  sign  Geert  :)

Jul 25, 2011 at 8:04 AM

Please vote for the issue here:

Jul 26, 2011 at 8:21 AM

i also agree with MiSeeger that  it would be  good issue  to add support for MEF and  I followed it with two my hands.

But can you say some more what we are talking about....       how you see MEF support  and what it can include next : ...  

As i understand that MEF suppport  can be used to organize dynamically composing system where we can use module concept, extension concept ... or what

Then if we talking about silverlight then itl be good to add support for deployment catalog

 Question is    how you see MEF support  and what it can include by your means and plans ?

Jul 27, 2011 at 7:41 AM

We are currently looking on how we can support MEF. In it's simplest form, MEF can already be used since you can just decorate everything with the attributes. However, we need to register the MEF container with the ServiceLocator to exchange the registered interfaces on both containers.

Jul 28, 2011 at 1:06 PM

Wat specific features of MEF would you like to see in Catel? Please reply in this issue:

Aug 15, 2011 at 12:33 PM

MEF is implemented in version 2.1.