<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Krzysztof Cwalina : MEF</title><link>http://blogs.msdn.com/kcwalina/archive/tags/MEF/default.aspx</link><description>Tags: MEF</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>MEF Primitives Explained</title><link>http://blogs.msdn.com/kcwalina/archive/2009/06/09/MEFPrimitives.aspx</link><pubDate>Tue, 09 Jun 2009 19:48:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9716491</guid><dc:creator>kcwalina</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/kcwalina/comments/9716491.aspx</comments><wfw:commentRss>http://blogs.msdn.com/kcwalina/commentrss.aspx?PostID=9716491</wfw:commentRss><wfw:comment>http://blogs.msdn.com/kcwalina/rsscomments.aspx?PostID=9716491</wfw:comment><description>&lt;P&gt;Daniel just wrote a really nice &lt;A href="http://blogs.msdn.com/dsplaisted/archive/2009/06/08/a-crash-course-on-the-mef-primitives.aspx" mce_href="http://blogs.msdn.com/dsplaisted/archive/2009/06/08/a-crash-course-on-the-mef-primitives.aspx"&gt;post explaining the basics of MEF primitives&lt;/A&gt;. I recommend this to all interested in the internals or in extending MEF.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9716491" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/kcwalina/archive/tags/MEF/default.aspx">MEF</category></item><item><title>Custom Programming Models for MEF (Provider Model Contrib)</title><link>http://blogs.msdn.com/kcwalina/archive/2009/03/03/9457619.aspx</link><pubDate>Wed, 04 Mar 2009 01:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9457619</guid><dc:creator>kcwalina</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.msdn.com/kcwalina/comments/9457619.aspx</comments><wfw:commentRss>http://blogs.msdn.com/kcwalina/commentrss.aspx?PostID=9457619</wfw:commentRss><wfw:comment>http://blogs.msdn.com/kcwalina/rsscomments.aspx?PostID=9457619</wfw:comment><description>&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;The MEF composition engine operates on (composes) abstractions called ComposableParts. By default, parts are implemented as simple .NET classes annotated with MEF attributes (ExportAttribute and ImportAttribute). But, we envision that some parts will be implemented through variety of different mechanisms. For example, parts can be .NET types annotated with external files, DLR objects, XAML files, etc. We call such alternative means of specifying parts “custom programming models.”&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;FONT size=3 face=Calibri&gt;In v1 of MEF, we focused on getting the default programming model &lt;U&gt;super easy to use&lt;/U&gt; (most MEF users need to only understand a handful of types) and getting the ComposablePart abstractions &lt;U&gt;right&lt;/U&gt; (making it possible to create custom programming models). We did not focus on making it easy to create custom programming models (quite advanced scenario).&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face=Calibri&gt;
&lt;P style="MARGIN: 0in 0in 10pt" class=MsoNormal&gt;&lt;A href="http://www.thecodejunkie.com/"&gt;&lt;FONT size=3&gt;Andreas&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt; stepped in and filled in that hole. He created a &lt;/FONT&gt;&lt;A href="http://mefcontrib.codeplex.com/Wiki/View.aspx?title=Provider%20Model"&gt;&lt;FONT size=3&gt;MEF contrib project&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt; which is a set of helper libraries that make it quite easy to create custom programming models. For all those who like to play around with internals of technologies like MEF, I recommend looking at the library.&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9457619" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/kcwalina/archive/tags/MEF/default.aspx">MEF</category></item><item><title>MEF Preview #4 Released</title><link>http://blogs.msdn.com/kcwalina/archive/2009/01/27/MEF4.aspx</link><pubDate>Tue, 27 Jan 2009 19:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9377747</guid><dc:creator>kcwalina</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/kcwalina/comments/9377747.aspx</comments><wfw:commentRss>http://blogs.msdn.com/kcwalina/commentrss.aspx?PostID=9377747</wfw:commentRss><wfw:comment>http://blogs.msdn.com/kcwalina/rsscomments.aspx?PostID=9377747</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;We have just released a new update to &lt;/FONT&gt;&lt;A href="http://www.codeplex.com/MEF" mce_href="http://www.codeplex.com/MEF"&gt;&lt;FONT face=Calibri size=3&gt;MEF&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt;. I am super excited about this release as it represents something quite close to what we are going to ship in terms of public APIs. In the last milestone, we have done quite significant API cleanup, renamed many core types to what I think will be their final names, and finally we have done some namespace factoring work. Now, the primitives, host APIs, and parts’ APIs are all in separate namespaces.&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9377747" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/kcwalina/archive/tags/MEF/default.aspx">MEF</category></item><item><title>MEF on CodePlex</title><link>http://blogs.msdn.com/kcwalina/archive/2008/09/05/MEFCodePlex.aspx</link><pubDate>Sat, 06 Sep 2008 00:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8926943</guid><dc:creator>kcwalina</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.msdn.com/kcwalina/comments/8926943.aspx</comments><wfw:commentRss>http://blogs.msdn.com/kcwalina/commentrss.aspx?PostID=8926943</wfw:commentRss><wfw:comment>http://blogs.msdn.com/kcwalina/rsscomments.aspx?PostID=8926943</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;We have just released an update to MEF. You can get it at &lt;/FONT&gt;&lt;A href="http://www.codeplex.com/MEF" mce_href="http://www.codeplex.com/MEF"&gt;&lt;FONT face=Calibri size=3&gt;http://www.codeplex.com/MEF&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;The changes are quite significant:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpFirst style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;1.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;The preview ships with sources under a very permissive license (Ms-LPL).&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;2.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;We now support constructor injection. Feature that the community asked for.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;3.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;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.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoListParagraphCxSpLast style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;4.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;We significantly cleaned up the container APIs. But as above, there is more clean up to come in the future. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt 0.25in"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8926943" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/kcwalina/archive/tags/General+Programming/default.aspx">General Programming</category><category domain="http://blogs.msdn.com/kcwalina/archive/tags/MEF/default.aspx">MEF</category></item><item><title>Extensible Framework Design Studio Released</title><link>http://blogs.msdn.com/kcwalina/archive/2008/08/30/8910353.aspx</link><pubDate>Sat, 30 Aug 2008 20:19:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8910353</guid><dc:creator>kcwalina</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/kcwalina/comments/8910353.aspx</comments><wfw:commentRss>http://blogs.msdn.com/kcwalina/commentrss.aspx?PostID=8910353</wfw:commentRss><wfw:comment>http://blogs.msdn.com/kcwalina/rsscomments.aspx?PostID=8910353</wfw:comment><description>&lt;P&gt;This summer we had a high school intern, Nick Moloney, who worked on incorporating &lt;A class="" href="http://blogs.msdn.com/kcwalina/archive/2008/04/25/MEF.aspx" mce_href="http://blogs.msdn.com/kcwalina/archive/2008/04/25/MEF.aspx"&gt;MEF&lt;/A&gt; into &lt;A class="" href="http://blogs.msdn.com/kcwalina/archive/2008/04/04/8357773.aspx" mce_href="http://blogs.msdn.com/kcwalina/archive/2008/04/04/8357773.aspx"&gt;FDS&lt;/A&gt;. The fruits of his labor are now on code gallery. You can download the extensible FDS &lt;A class="" href="http://code.msdn.microsoft.com/fds" mce_href="http://code.msdn.microsoft.com/fds"&gt;here&lt;/A&gt;. Congratulations to Nick!&lt;/P&gt;
&lt;P&gt;The current release has just a few extensibility points, but you should expect&amp;nbsp;more in the future.&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8910353" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/kcwalina/archive/tags/General+API+Design/default.aspx">General API Design</category><category domain="http://blogs.msdn.com/kcwalina/archive/tags/MEF/default.aspx">MEF</category></item><item><title>POCO Support for MEF</title><link>http://blogs.msdn.com/kcwalina/archive/2008/07/07/MEFPOCO.aspx</link><pubDate>Mon, 07 Jul 2008 21:37:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8703555</guid><dc:creator>kcwalina</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/kcwalina/comments/8703555.aspx</comments><wfw:commentRss>http://blogs.msdn.com/kcwalina/commentrss.aspx?PostID=8703555</wfw:commentRss><wfw:comment>http://blogs.msdn.com/kcwalina/rsscomments.aspx?PostID=8703555</wfw:comment><description>Jason, our technical evangelist, just posted a sample showing how &lt;A class="" href="http://www.managed-world.com/2008/07/04/BuildingAFluentInterfaceForMEF.aspx" mce_href="http://www.managed-world.com/2008/07/04/BuildingAFluentInterfaceForMEF.aspx"&gt;MEF can compose plain old CLR objects&lt;/A&gt;. &lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8703555" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/kcwalina/archive/tags/MEF/default.aspx">MEF</category></item><item><title>MEF and System.AddIns</title><link>http://blogs.msdn.com/kcwalina/archive/2008/06/13/MAFMEF.aspx</link><pubDate>Fri, 13 Jun 2008 19:04:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8594649</guid><dc:creator>kcwalina</dc:creator><slash:comments>8</slash:comments><comments>http://blogs.msdn.com/kcwalina/comments/8594649.aspx</comments><wfw:commentRss>http://blogs.msdn.com/kcwalina/commentrss.aspx?PostID=8594649</wfw:commentRss><wfw:comment>http://blogs.msdn.com/kcwalina/rsscomments.aspx?PostID=8594649</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;FONT face=Calibri size=3&gt;Several people asked about the relationship between MEF and the technology in System.AddIn namespace. The answer is that these two are independent and complementary features. MEF is a primarily a composition engine. System.AddIn is an add-in activation and isolation technology. MEF’s engine will be able to compose objects that are simple CLR object, COM and DCOM components (more precisely managed proxies to these components), remoting proxies, and finally System.AddIn add-ins. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;FONT face=Calibri size=3&gt;The following is roughly how we see the basic “architecture” (conceptual diagram) of these technologies. As you can see on the diagram, the composition engine works on abstract representations of components currently called ComponentBinders. The composition engine is not concerned with how the parts are actually implemented or activated (COM, simple new operator, or System.AddIns activation). Its only concern is to inspect the binders for dependencies they need (imports) and objects they can give (exports), and provide “matchmaking” services for the binders (blue arrows on the diagram).&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;IMG src="http://farm4.static.flickr.com/3017/2575048355_8aaa55bec2_o_d.jpg" mce_src="http://farm4.static.flickr.com/3017/2575048355_8aaa55bec2_o_d.jpg"&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8594649" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/kcwalina/archive/tags/MEF/default.aspx">MEF</category></item><item><title>MEF CTP 1 Released</title><link>http://blogs.msdn.com/kcwalina/archive/2008/06/05/MEFCTP.aspx</link><pubDate>Thu, 05 Jun 2008 23:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8576275</guid><dc:creator>kcwalina</dc:creator><slash:comments>8</slash:comments><comments>http://blogs.msdn.com/kcwalina/comments/8576275.aspx</comments><wfw:commentRss>http://blogs.msdn.com/kcwalina/commentrss.aspx?PostID=8576275</wfw:commentRss><wfw:comment>http://blogs.msdn.com/kcwalina/rsscomments.aspx?PostID=8576275</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"&gt;Several members of my team have already spilled the beans, but yes (!) we just released our first public preview of MEF. You can grab the bits from &lt;A href="http://code.msdn.microsoft.com/mef"&gt;here&lt;/A&gt; and read a past post for a &lt;A href="http://blogs.msdn.com/kcwalina/archive/2008/04/25/MEF.aspx"&gt;high level overview&lt;/A&gt;.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"&gt;I am super excited about the release. It’s a very early preview and still lots of work remains, but the CTP is a significant milestone for us. Designing a general purpose extensibility framework is &lt;U&gt;hard&lt;/U&gt;, and so we felt very strong about releasing such an early preview to the world to get early feedback from the community. Hopefully together we can create a set of APIs that scale to the variety of extensibility scenarios: from developers using DI and IoC to large applications with extensibility points and plug-ins.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"&gt;In my previous post about MEF, several people asked about constructor injection and non-attribute based programming model. Constructor injection is not supported in this preview, but we did start working on the design of the composition engine that would allow it. The non-attribute based programming model (where connections are specified externally) is actually enabled, but not built-in. I will try to post a sample showing how to do it, but for those that want to experiment themselves: you need to implement a custom component binder. The built-in binder inspects types and looks for the attributes. You custom binder might want to read the same information (which type to inject where) in some external file.&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8576275" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/kcwalina/archive/tags/MEF/default.aspx">MEF</category></item><item><title>Managed Extensibility Framework</title><link>http://blogs.msdn.com/kcwalina/archive/2008/04/25/MEF.aspx</link><pubDate>Fri, 25 Apr 2008 19:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8424359</guid><dc:creator>kcwalina</dc:creator><slash:comments>75</slash:comments><comments>http://blogs.msdn.com/kcwalina/comments/8424359.aspx</comments><wfw:commentRss>http://blogs.msdn.com/kcwalina/commentrss.aspx?PostID=8424359</wfw:commentRss><wfw:comment>http://blogs.msdn.com/kcwalina/rsscomments.aspx?PostID=8424359</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;Several months ago we formed what we call Application Framework Core team. The charter of the team is to play the same role in the application frameworks space (WinForms, ASP.NET, WPF, Silverlight) as the Base Class Libraries (BCL) team plays at the bottom of the platform stack. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;The BCL team did a good job fulfilling the role of the team responsible for decreasing duplication and providing common abstractions for the low levels of the platform. Unfortunately, we did not have a similar team really focused on these sets of issues higher up on the stack. This resulted in some unfortunate duplication (like several data binding models for each of the application models, different dependency property system for WPF and WF) and lack of common abstractions (what undo APIs should my generic application plugin call?) for application model code. The Application Framework Core team is now in place to start addressing the problems.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;One of the first concrete projects that we are working on and are ready to slowly talk about is what we call the &lt;B style="mso-bidi-font-weight: normal"&gt;Managed Extensibility Framework&lt;/B&gt; (MEF). We observed that there are more and more places in the .NET Framework itself and increasingly managed applications (like Visual Studio) where we want to provide, or already provide, hooks for 3&lt;SUP&gt;rd&lt;/SUP&gt; party extensions. Think about TraceListener plugins for the TraceSource APIs, pluggable rules for Visual Studio Code Analysis (and the standalone FxCop), etc. In the absence of a built-in extensibility framework (like MEF), our developers who want to enable such extensions often are forced to create custom mechanisms, thus duplication. We hope that MEF will both stop such duplication and encourage/enable more extensibility in the Framework and applications built on top of it. &lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;We will blog more details about MEF in the upcoming months, but here are some early details (subject to changes, of course): MEF is a set of features referred in the academic community and in the industry as a &lt;I style="mso-bidi-font-style: normal"&gt;Naming and Activation Service&lt;/I&gt; (returns an object given a “name”), &lt;I style="mso-bidi-font-style: normal"&gt;Dependency Injection&lt;/I&gt; (DI) framework, and a &lt;I style="mso-bidi-font-style: normal"&gt;Structural Type System&lt;/I&gt; (duck typing). These technologies (and other like System.AddIn) together are intended to enable the world of what we call &lt;I style="mso-bidi-font-style: normal"&gt;Open and Dynamic Applications&lt;/I&gt;, i.e. make it easier and cheaper to build extensible applications and extensions.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;The work we are doing builds on several existing Microsoft technologies (like the &lt;/FONT&gt;&lt;A href="http://www.codeplex.com/unity/"&gt;&lt;FONT face=Calibri size=3&gt;Unity&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt; framework) and with feedback from the DI community. The relationship with the Unity team is the regular relationship between the P&amp;amp;P group and the .NET Framework group where we trickle successful technologies and ideas from the P&amp;amp;P team into the .NET Framework after they have passed the test of time. We have done this with some features in the diagnostics, exceptions, and UI space in the past. The direct engagement with the DI community is also starting. We gave a talk on the technology at last week’s MVP Summit, and&amp;nbsp;talked with &lt;/FONT&gt;&lt;A href="http://codebetter.com/blogs/jeremy.miller/"&gt;&lt;FONT face=Calibri size=3&gt;Jeremy Miller&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt; (the owner of Structure Map) and &lt;/FONT&gt;&lt;A href="http://www.ayende.com/Blog/"&gt;&lt;FONT face=Calibri size=3&gt;Ayende Rahien&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt; (Rhino Mocks) . We got lots of great feedback from Jeremy and Ayende&amp;nbsp;and I think their experience in the DI space and their feedback will be invaluable as the project evolves. Thanks guys! We are of course also looking forward to engaging others in the DI community.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;And finally here is some code showing basic scenarios our framework supports:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Calibri size=3&gt;Creating an Extension Point in an Application:&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=CodeCxSpFirst style="MARGIN: 6pt 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;public class HelloWorld {&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&lt;/SPAN&gt;&lt;SPAN style="BACKGROUND: yellow; mso-highlight: yellow"&gt;[Import]&lt;/SPAN&gt; // import declares what a component needs&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&lt;/SPAN&gt;public OutputDevice Output;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;&amp;nbsp; &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;public void SayIt() {&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Output.WriteLine("Hello World");&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&lt;/SPAN&gt;}&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;}&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;o:p&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;// Extension Contract &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;public abstract class OutputDevice {&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;void WriteLine(string output)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpLast style="MARGIN: 0in 0in 6pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;}&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoListParagraph style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; mso-add-space: auto"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;1.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Creating an Extension&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=CodeCxSpFirst style="MARGIN: 6pt 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;&lt;SPAN style="BACKGROUND: yellow; mso-highlight: yellow"&gt;[Export(typeof(OutputDevice))]&lt;/SPAN&gt; // export declared what a component gives&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;public class CustomOutput : OutputDevice {&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;public void WriteLine(string output) {&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Console.WriteLine(output);&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;}&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpLast style="MARGIN: 0in 0in 6pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;}&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt -0.25in"&gt;&lt;o:p&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoListParagraph style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; mso-add-space: auto"&gt;&lt;SPAN style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-list: Ignore"&gt;&lt;FONT face=Calibri size=3&gt;2.&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri size=3&gt;Magic that makes composes (DIs) the application with the extensions.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=CodeCxSpFirst style="MARGIN: 6pt 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;var domain = new ComponentDomain();&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;var hello = new HelloWorld();&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;o:p&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;// of course this can be implicit&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;domain.AddComponent(hello); &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;domain.AddComponent(new CustomOutput());&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;o:p&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=CodeCxSpMiddle style="MARGIN: 0in 0in 0pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;&lt;SPAN style="BACKGROUND: yellow; mso-highlight: yellow"&gt;domain.Bind();&lt;/SPAN&gt; // bind matches the needs to gives&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=CodeCxSpLast style="MARGIN: 0in 0in 6pt 0.25in"&gt;&lt;STRONG&gt;&lt;FONT face="Lucida Console"&gt;hello.SayIt();&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Expecting lots of questions, I will preemptively answer (&lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY: Wingdings; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-char-type: symbol; mso-symbol-font-family: Wingdings; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;J&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri&gt;): we don’t yet know whether or when we will ship this. We do have working code and we are looking into releasing a preview/CTP of the technology. For now we would be very interested in high level feedback. What do you think hinders extensibility in frameworks and application? Where would you like the Framework to be more extensible? What DI framework features you need, like, want, and use on daily basis? i.e. is constructor injection required? &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;And lastly, we are &lt;/FONT&gt;&lt;A href="http://blogs.msdn.com/kcwalina/archive/2008/03/14/8209671.aspx"&gt;&lt;FONT face=Calibri size=3&gt;hiring&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Calibri size=3&gt;! :-)&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8424359" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/kcwalina/archive/tags/MEF/default.aspx">MEF</category></item></channel></rss>