<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Injecting MVC with MEF 2 in 2 Minutes</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes/rss"></atom:link>
	<image>
		<url>http://ak.channel9.msdn.com/ch9/144a/c074176a-0924-4ca6-a0e8-e0b3be67144a/InjectingMVCWithMEFIn2Minutes_220.jpg</url>
		<title>Channel 9 - Injecting MVC with MEF 2 in 2 Minutes</title>
		<link></link>
	</image>
	<description>If you&#39;ve wondered how to make sense of the alphabet soup and options available for Dependency Injection and Inversion of Control (DI/IoC) as well as how the Managed Extensibility Framework (MEF) can help you solve these problems, check out this screencast. In two minutes, you&#39;ll have a fully functioning DI/IoC-driven MVC site using MEF 2.0. In this video, you&#39;ll see how you can get MEF running in an ASP.NET MVC site and how to successfully decouple the controller layer from the service infrastructure and allow for reuse of the service layer across multiple controllers. The Microsoft.MEF.CompositionProvider NuGet package put forth by the MEF team makes MEF an irresistible DI/IoC option for MVC developers.  Let Brady Gaster show you how to inject your MVC site using Visual Studio 11 and MEF 2.0 and quickly have more SOLID code.  </description>
	<link></link>
	<language>en</language>
	<pubDate>Tue, 21 May 2013 07:55:56 GMT</pubDate>
	<lastBuildDate>Tue, 21 May 2013 07:55:56 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Injecting MVC with MEF 2 in 2 Minutes</title>
		<description>
			<![CDATA[<p>Great video! &nbsp;However, MEF stands for <strong>Managed</strong> Extensibility Framework, not Microsoft Extensibility Framework. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif?v=c9' alt='Smiley' /></p><p>posted by dsplaisted</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634679634612582245</link>
		<pubDate>Wed, 21 Mar 2012 21:51:01 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634679634612582245</guid>
		<dc:creator>dsplaisted</dc:creator>
	</item>
	<item>
		<title>Re: Injecting MVC with MEF 2 in 2 Minutes</title>
		<description>
			<![CDATA[<p>Very nice! &nbsp;I like the dancing cursor and MEF too!</p><p>posted by mouhamf</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634680035906630821</link>
		<pubDate>Thu, 22 Mar 2012 08:59:50 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634680035906630821</guid>
		<dc:creator>mouhamf</dc:creator>
	</item>
	<item>
		<title>Re: Injecting MVC with MEF 2 in 2 Minutes</title>
		<description>
			<![CDATA[<p>LOL--cursor dancing to Grapes!</p><p>I've always found MEF (and DI/IOC)&nbsp; to be ironic.&nbsp;</p><p>It's useless until you need it, then it's indispensible!</p><p>posted by m1erickson</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634680130159395416</link>
		<pubDate>Thu, 22 Mar 2012 11:36:55 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634680130159395416</guid>
		<dc:creator>m1erickson</dc:creator>
	</item>
	<item>
		<title>Re: Injecting MVC with MEF 2 in 2 Minutes</title>
		<description>
			<![CDATA[<p>@<a href="/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634679634612582245">dsplaisted</a>: typo fixed!</p><p>posted by bradygaster</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634680164530538769</link>
		<pubDate>Thu, 22 Mar 2012 12:34:13 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634680164530538769</guid>
		<dc:creator>bradygaster</dc:creator>
	</item>
	<item>
		<title>Re: Injecting MVC with MEF 2 in 2 Minutes</title>
		<description>
			<![CDATA[<p>Love the music idea instead of someone talking over the video &quot;blah blah blah&quot;, i think it adds a nice creative style and lets you focus on the content which speaks for itself. Good work, i really hope you make more of these!</p><p>posted by LyalinDotCom</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634681176800157755</link>
		<pubDate>Fri, 23 Mar 2012 16:41:20 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634681176800157755</guid>
		<dc:creator>LyalinDotCom</dc:creator>
	</item>
	<item>
		<title>Re: Injecting MVC with MEF 2 in 2 Minutes</title>
		<description>
			<![CDATA[<p>Very cool, I had never thought about using MEF for IoC. Does anyone know how it performs under heavy load compared to Unity? I've noticed that Unity isn't the fastest container on the block...</p><p>posted by paul_dubya_eye</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634681184083849964</link>
		<pubDate>Fri, 23 Mar 2012 16:53:28 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634681184083849964</guid>
		<dc:creator>paul_dubya_eye</dc:creator>
	</item>
	<item>
		<title>Re: Injecting MVC with MEF 2 in 2 Minutes</title>
		<description>
			<![CDATA[<p>@<a href="/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634681176800157755">DmitryNYC</a>: Thanks so much! I hope I do too!</p><p>posted by bradygaster</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634681186116375141</link>
		<pubDate>Fri, 23 Mar 2012 16:56:51 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634681186116375141</guid>
		<dc:creator>bradygaster</dc:creator>
	</item>
	<item>
		<title>Re: Injecting MVC with MEF 2 in 2 Minutes</title>
		<description>
			<![CDATA[I&#39;m assuming this only works if you have one implementation of the interface.  Is there a way to configure the instance you want or is this based only on having one implementation.<p>posted by Curtis Gibeaut</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634681324908863576</link>
		<pubDate>Fri, 23 Mar 2012 20:48:10 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634681324908863576</guid>
		<dc:creator>Curtis Gibeaut</dc:creator>
	</item>
	<item>
		<title>Re: Injecting MVC with MEF 2 in 2 Minutes</title>
		<description>
			<![CDATA[<p>Does anyone know what this music is ?</p><p>posted by MariuszGorzoch</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634683383570818443</link>
		<pubDate>Mon, 26 Mar 2012 05:59:17 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634683383570818443</guid>
		<dc:creator>MariuszGorzoch</dc:creator>
	</item>
	<item>
		<title>Re: Injecting MVC with MEF 2 in 2 Minutes</title>
		<description>
			<![CDATA[<p>Sorry... got it <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif?v=c9' alt='Smiley' /> (found it on the end =&nbsp;<a href="http://ccmixter.org/files/grapes/16626">http://ccmixter.org/files/grapes/16626</a>&nbsp;)</p><p>posted by MariuszGorzoch</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634683387018254368</link>
		<pubDate>Mon, 26 Mar 2012 06:05:01 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634683387018254368</guid>
		<dc:creator>MariuszGorzoch</dc:creator>
	</item>
	<item>
		<title>Re: Injecting MVC with MEF 2 in 2 Minutes</title>
		<description>
			<![CDATA[<p>@Curtis Gibeaut: MEF has a few mechanisms for differentiating between implementations of an interface.</p><p>The simplest is to use names - there's an example here:&nbsp;<a href="http://blogs.msdn.com/b/bclteam/archive/2011/11/03/overriding-part-registration-conventions-with-the-mef-attributes-nick.aspx">http://blogs.msdn.com/b/bclteam/archive/2011/11/03/overriding-part-registration-conventions-with-the-mef-attributes-nick.aspx</a></p><p>Beyond simple naming you can also apply and consume export metadata, e.g. see:&nbsp;<a href="http://devlicio.us/blogs/derik_whittaker/archive/2010/03/06/providing-metadata-to-you-mef-exports.aspx">http://devlicio.us/blogs/derik_whittaker/archive/2010/03/06/providing-metadata-to-you-mef-exports.aspx</a>.</p><p>Hope this helps!</p><p>Nick</p><p>posted by nblumhardt</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634683801924895040</link>
		<pubDate>Mon, 26 Mar 2012 17:36:32 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634683801924895040</guid>
		<dc:creator>nblumhardt</dc:creator>
	</item>
	<item>
		<title>Re: Injecting MVC with MEF 2 in 2 Minutes</title>
		<description>
			<![CDATA[<p>Wow, I like magic as much as the next guy, but can any one point me to where this is all getting wired up? I dont see any configuration in Web config, or anything in Global.asax to wire anything up. Where is all of this hidden?</p><p>thanks</p><p>Noel</p><p>&nbsp;</p><p>posted by nanderto</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634683938346025671</link>
		<pubDate>Mon, 26 Mar 2012 21:23:54 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634683938346025671</guid>
		<dc:creator>nanderto</dc:creator>
	</item>
	<item>
		<title>Re: Injecting MVC with MEF 2 in 2 Minutes</title>
		<description>
			<![CDATA[<p>@<a href="/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634683938346025671">nanderto</a>: I just found this post, about half way down is the topic &quot;Composition provider for ASP.NET MVC&quot; which explains that the interfaces need to be in the Parts folder.</p><p><a href="http://blogs.msdn.com/b/bclteam/archive/2011/10/27/what-s-new-in-mef-version-2-preview-4.aspx">http://blogs.msdn.com/b/bclteam/archive/2011/10/27/what-s-new-in-mef-version-2-preview-4.aspx</a></p><p>posted by nanderto</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634683951962775498</link>
		<pubDate>Mon, 26 Mar 2012 21:46:36 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634683951962775498</guid>
		<dc:creator>nanderto</dc:creator>
	</item>
	<item>
		<title>Re: Injecting MVC with MEF 2 in 2 Minutes</title>
		<description>
			<![CDATA[<p>Brady, loving the posts! You're doing a great job.</p><p>I recall listening to a podcast a few years ago that had Glenn Block stating MEF was not trying to replace other IoC containers. I actually wrote it off as something that was cool but generally overkill for the small scale projects that I do. I think the podcast was Herding Code and do realize it was a few years ago and things change fast.</p><p>It seems even simpler than Ninject, which I've been using based on it's own simplicity, but is MEF not overkill for simple internal decoupling?</p><p>Is it just as simple for MEF to do injection patterns other than constructor injection? Specifically property setter injection?</p><p>Thanks, and keep up the good work!</p><p>posted by nickspiers</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634684495010678081</link>
		<pubDate>Tue, 27 Mar 2012 12:51:41 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634684495010678081</guid>
		<dc:creator>nickspiers</dc:creator>
	</item>
	<item>
		<title>Re: Injecting MVC with MEF 2 in 2 Minutes</title>
		<description>
			<![CDATA[<p>@<a href="/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634684495010678081">nickspiers</a>: Having one of those &quot;not worthy&quot; moments, man! Thanks for the amazingly supportive comments. I'm honestly thinking of making a series out of these. You guys thing that'd be a good thing? A &quot;how to with MEF&quot; screen cast series?</p><p>posted by bradygaster</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634685171733456424</link>
		<pubDate>Wed, 28 Mar 2012 07:39:33 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634685171733456424</guid>
		<dc:creator>bradygaster</dc:creator>
	</item>
	<item>
		<title>Re: Injecting MVC with MEF 2 in 2 Minutes</title>
		<description>
			<![CDATA[<p>@<a href="/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634684495010678081">nickspiers</a>: I'm pretty sure MEF supports all the features you're asking about. One of the other comments from above, by <a href="http://channel9.msdn.com/Niners/nblumhardt">Nicholas Blumhardt</a>, was made by one of the folks responsible for MEF 2. He would definitely have some good examples out there on using it. mef.codeplex.com has some awesome resources on using the new implementation, too. It has a fluent or attribute-based wire-up methodology.&nbsp;</p><p>posted by bradygaster</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634685465044484573</link>
		<pubDate>Wed, 28 Mar 2012 15:48:24 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634685465044484573</guid>
		<dc:creator>bradygaster</dc:creator>
	</item>
	<item>
		<title>Re: Injecting MVC with MEF 2 in 2 Minutes</title>
		<description>
			<![CDATA[<p>Great job Brady!</p><p>Keep spreading the MEF love!</p><p>posted by gblock</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634694742985758433</link>
		<pubDate>Sun, 08 Apr 2012 09:31:38 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634694742985758433</guid>
		<dc:creator>gblock</dc:creator>
	</item>
	<item>
		<title>Re: Injecting MVC with MEF 2 in 2 Minutes</title>
		<description>
			<![CDATA[<p>@bradygaster</p><p>Just used it in a project and I'm sold! Thanks!</p><p>posted by nickspiers</p>]]>
		</description>
		<link>http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634699056541528485</link>
		<pubDate>Fri, 13 Apr 2012 09:20:54 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/posts/Injecting-MVC-with-MEF-2-in-2-Minutes#c634699056541528485</guid>
		<dc:creator>nickspiers</dc:creator>
	</item>
</channel>
</rss>