Recently my team has been working on the Managed Extensions Framework (MEF)... I have gotten a chance to explain the concept to folks and I think I have discovered a way to talk about MEF that folks can easily get. So I thought I'd spend a little time walking through a *very* simple MEF example as a way to introduce folks to the power of extensible applications in general, and MEF in particular. BTW, you can download the current MEF CTP and the final working sample . Background Let's start with the most simple example: Hello World! 1: using System; 2: 3: class Program 4: { 5: public void Run() 6: { 7: Console.WriteLine( "Hello World!" ); 8: Console.ReadKey(); 9: } 10: static void Main( string [] args) 11: { 12: Program p =...(read more) ...
Go to the complete details ...