Browse by Tags

All Tags » MEF (RSS)

Ruby and the Managed Extensibility Framework

Nick Blumhardt (of autofac fame) recently joined our team, and just fired up a new blog on blogs.msdn.com. Similar to Mitch (with whom he shares an office), he's another big fan of languages with unreadable syntax. He's started off with part one...
Posted by David Kean | 1 comment(s)
Filed under:

New Managed Extensibility Framework (MEF) Drop

We've dropped a new version of the Managed Extensibility Framework over on our CodePlex site. Some highlights since our last drop : New license ( MS-PL ) - redistribute, modify, or fork the source on any platform. Container re-factoring - we've...
Posted by David Kean | with no comments
Filed under: ,

New Managed Extensibility Framework (MEF) Preview

We have released an update to the Managed Extensibility Framework over on our new site on CodePlex . There have been quite a few changes since our last release , including: Shared Source (released under the MS-LPL license ) Constructor injection (via...
Posted by David Kean | with no comments
Filed under: ,

Binding private and internal members using the CompositionContainer

By default, the CompositionContainer will not bind to private and internal members. For example, given the following fictional class: public class ConnectionFactory { [ Import ( "ConnectionString" )] private string _ConnectionString; public...
Posted by David Kean | with no comments
Filed under:

Dependency Injection in the Managed Extensibility Framework – Named Contracts

This is part three in a series of posts on dependency injection in the Managed Extensibility Framework (MEF). You can find other posts in the series here: Dependency Injection in the Managed Extensibility Framework – Simple Injection Dependency Injection...
Posted by David Kean | 2 comment(s)
Filed under:

Getting more information from the CompositionException

As you are working yourself through the Managed Extensibility Framework, you’re likely to hit a CompositionException with an error similar to the following: System.ComponentModel.Composition.CompositionException: There was at least one composition issue...
Posted by David Kean | with no comments
Filed under:

Dependency Injection in the Managed Extensibility Framework – Optional Injection

This is part two in a series of posts on dependency injection in the Managed Extensibility Framework (MEF). You can find other posts in the series here: Dependency Injection in the Managed Extensibility Framework – Simple Injection Dependency Injection...
Posted by David Kean | with no comments
Filed under:

Customer Question – Does MEF allow injection without using attributes?

Peter Richie asks: “ MEF allows decoupling of TypeA's dependency on TypeB, but now TypeA and TypeB have an assembly-level dependency on the MEF assemblies. If I have a specific restriction on deployment of the assemblies required by TypeB such...
Posted by David Kean | with no comments
Filed under:

Dependency Injection in the Managed Extensibility Framework – Simple Injection

This is part one in a series of posts on dependency injection in the Managed Extensibility Framework (MEF). You can find other posts in the series here: Dependency Injection in the Managed Extensibility Framework – Simple Injection Dependency Injection...
Posted by David Kean | 4 comment(s)
Filed under:

Announcing the Managed Extensibility Framework CTP

I’m pleased to announce that we’ve just released a Community Technology Preview (CTP) of the Managed Extensibility Framework . Krzysztof Cwalina has previously mentioned a little about what my team’s been working on and this release...
Posted by David Kean | 2 comment(s)
Filed under: ,