New Managed Extensibility Framework drop

We’ve dropped another version of the Managed Extensibility Framework over on our CodePlex site.

Changes since the last drop:

  • Diagnostics improvement. We now provide a lot more information in error messages when something goes wrong with composition. We’ve also made the main types look a lot better under the debugger.
  • Lifetime/Creation Policy. Importers can now request a specific creation policy (ie shared or non-shared) for an injected object if they so want. Non-disposable non-shared objects can now be GC’d before the container is disposed (before it used to hold onto them indefinitely).
  • Ripped AllowNonPublicCompositionAttribute. We now always inject private and internal members.
  • Namespace cleanup. We’ve added a couple of sub namespaces under System.ComponentModel.Composition, called ‘Hosting’ and ‘Primitives’. Hosting contains types commonly used only by host applications, such as ExportProvider, CompositionContainer and the catalogs. Primitives contains types for implementing a custom programming model, such as ComposablePart, ImportDefinition and ExportDefinition.
  • Type name cleanup. Gone are the hideously long type names; AttributedAssemblyPartCatalog, AttributedTypesPartCatalog, AggregratingComposablePartCatalog, and in their place; AssemblyCatalog, TypeCatalog and AggregateCatalog.

Check it out, and tell us what you think.

Published Tuesday, January 27, 2009 7:00 AM by David Kean
Filed under: ,

Comments

Tuesday, January 27, 2009 11:30 PM by hammett

# re: New Managed Extensibility Framework drop

@David Nelson, this should be fixed by now.

Wednesday, January 28, 2009 3:26 AM by Daniel Lidström

# re: New Managed Extensibility Framework drop

No news about supporting Compact Framework? I'd be interested to hear about the likeliness of that happening.

We have no plans as of yet to support Compact Framework - however, as we do provide source, you might be able to build it yourself. Not a very good answer - but unfortunately, the best that I can provide.
Thursday, January 29, 2009 12:10 AM by My Technobabble

# Managed Extensibility Framework Preview 4, a grab bag of goodies.

If you haven’t seen Krys and David’s announcement, we just released another drop of MEF (I need to hold

Friday, January 30, 2009 12:10 PM by Glenn Block

# Managed Extensibility Framework Preview 4, a grab bag of goodies.

If you haven’t seen Krys and David’s announcement, we just released another drop of MEF (I need to hold