MEF on CodePlex

 

We have just released an update to MEF. You can get it at https://www.codeplex.com/MEF

The changes are quite significant:

1. The preview ships with sources under a very permissive license (Ms-LPL).

2. We now support constructor injection. Feature that the community asked for.

3. We completely redesigned MEF’s extensibility points. The extensibility points are designed to support writing custom providers of composition data. For example, out of the box MEF requires composable parts to be attributed with attributes that provide metadata describing the composition. We got lots of feedback that this is not acceptable in many scenarios. The new extensibility points make it easier to extend MEF to externalize the metadata (to an XML file for example). Note, that the changes are just the first step toward the goal of making the extensibility easy and powerful. We will most probably keep making improvements in this space in the future, so feedback on the new extensibility points would be more then welcome.

4. We significantly cleaned up the container APIs. But as above, there is more clean up to come in the future.

Comments

  • Anonymous
    September 05, 2008
    PingBack from http://www.easycoded.com/mef-on-codeplex/

  • Anonymous
    September 05, 2008
    Congratulations! Will you (or someone from the team) be doing some blogposts with samples about the improvements (ScottGu-style)?

  • Anonymous
    September 07, 2008
    El viernes pasado apareció la primera entrega del Microsoft Extensibility Framework (en codeplex) Es

  • Anonymous
    September 08, 2008
    The Managed Extensibility Framework (MEF) is a new library in .NET that enables greater reuse of applications

  • Anonymous
    September 08, 2008
    Hi Krzysztof, With the current license the MEF is not usable with Silverlight on other platforms - will you change this in the future? Best regards, Lars Wilhelmsen

  • Anonymous
    September 09, 2008
    Krzysztof, you can find some walkthrough samples on the codeplex site. The set of samples is not complete yet, the basic scenarios should be covered. Ping me if you cannot find what you are looking for. Lars, we are looking into the license issue now. Glenn Block should have an update on this in a couple of days.

  • Anonymous
    September 29, 2008
    The comment has been removed