SilverlightShow: Honey, I MEF-fed the Silverlight Gallery (for Christmas), Part 1 Comments http://www.silverlightshow.net/ Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples en-us SilverlightShow.net estoychev@completit.com (Emil Stoychev) Argotic Syndication Framework, http://www.codeplex.com/Argotic http://www.rssboard.org/rss-specification RE: Honey, I MEF-fed the Silverlight Gallery (for Christmas), Part 1 http://www.silverlightshow.net/items/Honey-I-MEF-fed-the-Silverlight-Gallery-for-Christmas-Part-1.aspx#comment3786 Doesn't Silverlight allready have a theming system with Styles in Resources? Isn't this a developer solution? I've come up to this problem with MEF and using ResourceDictionaries. The are not available when MEF instanciates the Class. Have you had any experience with this? ( Michaud Venant) http://www.silverlightshow.net/items/Honey-I-MEF-fed-the-Silverlight-Gallery-for-Christmas-Part-1.aspx Sun, 13 Jun 2010 16:46:53 +0300 RE: Honey, I MEF-fed the Silverlight Gallery (for Christmas), Part 1 http://www.silverlightshow.net/items/Honey-I-MEF-fed-the-Silverlight-Gallery-for-Christmas-Part-1.aspx#comment3761 Tried to look at the gallery and I got the "compiled to work with an expired beta version of Silverlight" error.  I thought your Halloween project rocked.  So, was looking forward to seeing the Christmas version.  BTW, I tried to open the link in IE, Firefox and Chrome.  Same error message. ( Jon P.) http://www.silverlightshow.net/items/Honey-I-MEF-fed-the-Silverlight-Gallery-for-Christmas-Part-1.aspx Thu, 10 Jun 2010 22:20:29 +0300 RE: Honey, I MEF-fed the Silverlight Gallery (for Christmas), Part 1 http://www.silverlightshow.net/items/Honey-I-MEF-fed-the-Silverlight-Gallery-for-Christmas-Part-1.aspx#comment2888 @Yaz:<div>1. Yes, you could do the same with WPF - MEF will ship with .NET 4. In fact, MEF for Silverlight was "ported" from the full     version framework.</div><div>2. It's hard to say because each of the three have some overlapping with the others, and there is no 1:1 replacement. You can actually use all of three in the same project. With a decent MVVM framework under the belt (there are a few out there), I would (had) definitely go with MEF instead of PRISM. Nonetheless, PRISM's documentation/guidance is still worth going through for learning patterns.</div><div>While MEF can provide some of the features of an IoC container, it's not meant to be one, so I would say "no" to that.</div><div>But then again, I don't know the future plans for development with any of the three.</div> ( andrejt) http://www.silverlightshow.net/items/Honey-I-MEF-fed-the-Silverlight-Gallery-for-Christmas-Part-1.aspx Sat, 09 Jan 2010 13:26:59 +0300 RE: Honey, I MEF-fed the Silverlight Gallery (for Christmas), Part 1 http://www.silverlightshow.net/items/Honey-I-MEF-fed-the-Silverlight-Gallery-for-Christmas-Part-1.aspx#comment2887 @Glenn: Right, I should have mentioned that. Will update the article, thanks! ( andrejt) http://www.silverlightshow.net/items/Honey-I-MEF-fed-the-Silverlight-Gallery-for-Christmas-Part-1.aspx Sat, 09 Jan 2010 13:06:07 +0300 RE: Honey, I MEF-fed the Silverlight Gallery (for Christmas), Part 1 http://www.silverlightshow.net/items/Honey-I-MEF-fed-the-Silverlight-Gallery-for-Christmas-Part-1.aspx#comment2886 <p>Hello,</p> <p>Excellent article, </p> <p>-    all the article I have seen use Silverlight rather than WPF. Can we do the same thing with WPF?</p> <p>-    Is MEF going to replace UNITY or PRISM?</p> <p>TIA</p> <p>Yaz</p> ( Yazid) http://www.silverlightshow.net/items/Honey-I-MEF-fed-the-Silverlight-Gallery-for-Christmas-Part-1.aspx Sat, 09 Jan 2010 12:11:25 +0300 RE: Honey, I MEF-fed the Silverlight Gallery (for Christmas), Part 1 http://www.silverlightshow.net/items/Honey-I-MEF-fed-the-Silverlight-Gallery-for-Christmas-Part-1.aspx#comment2885 <p>Hi Andre, Nice Post! </p> <p>One thing, where you discussed the references, you need to also add System.ComponentModel.Composition.Initialization which is where PartInitializer is located.</p> ( Glenn Block) http://www.silverlightshow.net/items/Honey-I-MEF-fed-the-Silverlight-Gallery-for-Christmas-Part-1.aspx Sat, 09 Jan 2010 07:20:44 +0300 RE: Honey, I MEF-fed the Silverlight Gallery (for Christmas), Part 1 http://www.silverlightshow.net/items/Honey-I-MEF-fed-the-Silverlight-Gallery-for-Christmas-Part-1.aspx#comment2883 :) Thanks, glad you enjoyed it. ( andrejt) http://www.silverlightshow.net/items/Honey-I-MEF-fed-the-Silverlight-Gallery-for-Christmas-Part-1.aspx Fri, 08 Jan 2010 12:39:54 +0300 RE: Honey, I MEF-fed the Silverlight Gallery (for Christmas), Part 1 http://www.silverlightshow.net/items/Honey-I-MEF-fed-the-Silverlight-Gallery-for-Christmas-Part-1.aspx#comment2881 <p>I tried to read this article, I really did, but those Ghosties scared the begeezers out of me.</p> <p>Seriously, I'm a huge fan of MEF, and I enjoyed your article.</p> ( Fallon Massey) http://www.silverlightshow.net/items/Honey-I-MEF-fed-the-Silverlight-Gallery-for-Christmas-Part-1.aspx Thu, 07 Jan 2010 22:07:13 +0300