
Great news! The
MEF framework for the .NET platform continues to evolve even after it was included in the
.NET Framework 4.0 .
A new version of
MEF 2 Preview 1 has been released , which contains the following changes and innovations:
- class
ExportFactory , which previously was only in the SL-version of MEF, is now moved to the client .NET version of the framework;
- code was refactored and performance increased;
- MEF 2 uses code contracts for parts implementing contracts for methods of the base class
ComposablePart ;
- MEF 2 builds are now digitally signed.
')
Note that the MEF 2 Preview 1 build is called
System.ComponentModel.Composition.Codeplex.dll in order not to conflict with the MEF version included in the .NET Framework 4.0.
You can download the new version of MEF 2 from the
official project
page on the codeplex. The archive contains the source code for the framework, unit tests and a set of examples of use.
The archive does not include the source codes or binary components of the silverlight version of the MEF, since no changes have been made to the previous version.