<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Reed Copsey, Jr.</title>
	<atom:link href="http://reedcopsey.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://reedcopsey.com</link>
	<description>Thoughts on C#, WPF, .NET, and programming for Scientific Visualization</description>
	<lastBuildDate>Wed, 01 Feb 2012 16:38:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Parallelism in .NET &#8211; Introduction by Louis Garcia</title>
		<link>http://reedcopsey.com/2010/01/19/parallelism-in-net-introduction/#comment-2050</link>
		<dc:creator>Louis Garcia</dc:creator>
		<pubDate>Wed, 01 Feb 2012 16:38:09 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/01/19/parallelism-in-net-introduction/#comment-2050</guid>
		<description>I&#039;ve been looking for a guide guide in to parallelism, thanks for writing this.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been looking for a guide guide in to parallelism, thanks for writing this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Parallelism in .NET &#8211; Part 4, Imperative Data Parallelism: Aggregation by Overview of Simple Parallel Programming with .NET 4.0</title>
		<link>http://reedcopsey.com/2010/01/22/parallelism-in-net-part-4-imperative-data-parallelism-aggregation/#comment-2014</link>
		<dc:creator>Overview of Simple Parallel Programming with .NET 4.0</dc:creator>
		<pubDate>Fri, 06 Jan 2012 22:33:25 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/01/22/parallelism-in-net-part-4-imperative-data-parallelism-aggregation/#comment-2014</guid>
		<description>[...] information on synchronized parallel programming, take a look at http://reedcopsey.com/2010/01/22/parallelism-in-net-part-4-imperative-data-parallelism-aggregation/. The author goes over how you can synchronize dependent data using the .NET 4.0 multithreading [...]</description>
		<content:encoded><![CDATA[<p>[...] information on synchronized parallel programming, take a look at <a href="http://reedcopsey.com/2010/01/22/parallelism-in-net-part-4-imperative-data-parallelism-aggregation/" rel="nofollow">http://reedcopsey.com/2010/01/22/parallelism-in-net-part-4-imperative-data-parallelism-aggregation/</a>. The author goes over how you can synchronize dependent data using the .NET 4.0 multithreading [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MEF CompositionInitializer for WPF by Valery</title>
		<link>http://reedcopsey.com/2010/03/26/mef-compositioninitializer-for-wpf/#comment-2012</link>
		<dc:creator>Valery</dc:creator>
		<pubDate>Fri, 06 Jan 2012 14:16:25 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/03/26/mef-compositioninitializer-for-wpf/#comment-2012</guid>
		<description>Thank you for your response,  
for public IEnumerable&gt; ViewModelFactories  ...is this a typo? what would the value of T be for IEnumerable</description>
		<content:encoded><![CDATA[<p>Thank you for your response,<br />
for public IEnumerable&gt; ViewModelFactories  &#8230;is this a typo? what would the value of T be for IEnumerable</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WPF &#8211; Common Dependency Property Exception by a</title>
		<link>http://reedcopsey.com/2009/10/23/wpf-common-dependency-property-exception/#comment-2002</link>
		<dc:creator>a</dc:creator>
		<pubDate>Sun, 01 Jan 2012 09:59:44 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/?p=67#comment-2002</guid>
		<description>Thanks a lot,
It helped me.</description>
		<content:encoded><![CDATA[<p>Thanks a lot,<br />
It helped me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MEF CompositionInitializer for WPF by Reed</title>
		<link>http://reedcopsey.com/2010/03/26/mef-compositioninitializer-for-wpf/#comment-2000</link>
		<dc:creator>Reed</dc:creator>
		<pubDate>Fri, 30 Dec 2011 17:50:52 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/03/26/mef-compositioninitializer-for-wpf/#comment-2000</guid>
		<description>Valery,

ExportFactory isn&#039;t in WPF 4 (but will be in 4.5).  The assembly above was for .NET 3.5, though -

I had some issues with this, and would recommend recompiling everything against .NET 4.  The assembly, as downloaded above, may have issues as it&#039;s built against 3.5.

That being said - I believe the other problem is that should be:

public IEnumerable&lt;ExportFactory&lt;ViewModel&gt;&gt; ViewModelFactories

In addition, I believe you need to do some extra decoration on the exports if you want [ImportMany] to work with ExportFactory&lt;T&gt;.  See: http://stackoverflow.com/a/8450345/65358

-Reed</description>
		<content:encoded><![CDATA[<p>Valery,</p>
<p>ExportFactory isn&#8217;t in WPF 4 (but will be in 4.5).  The assembly above was for .NET 3.5, though -</p>
<p>I had some issues with this, and would recommend recompiling everything against .NET 4.  The assembly, as downloaded above, may have issues as it&#8217;s built against 3.5.</p>
<p>That being said &#8211; I believe the other problem is that should be:</p>
<p>public IEnumerable<exportfactory <ViewModel>> ViewModelFactories</p>
<p>In addition, I believe you need to do some extra decoration on the exports if you want [ImportMany] to work with ExportFactory<t>.  See: <a href="http://stackoverflow.com/a/8450345/65358" rel="nofollow">http://stackoverflow.com/a/8450345/65358</a></p>
<p>-Reed</t></exportfactory></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MEF CompositionInitializer for WPF by Valery</title>
		<link>http://reedcopsey.com/2010/03/26/mef-compositioninitializer-for-wpf/#comment-1999</link>
		<dc:creator>Valery</dc:creator>
		<pubDate>Fri, 30 Dec 2011 16:02:59 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/03/26/mef-compositioninitializer-for-wpf/#comment-1999</guid>
		<description>I&#039;m a WPF developer and I want my application to us MEF to handle my modelviews &amp; views.  I realized that the CompositionInitializer.SatisfyImports(this) was not working and that&#039;s when i stumbled until this site.  I downloaded the ComponentsModel.Composition.Initialization.Desktop and after adding this dll to my project...it &quot;kind of&quot; worked.

Basically I was following John Papa&#039;s blog on how to use mvvm light framework and mef.
http://johnpapa.net/simple-viewmodel-locator-for-mvvm-the-patients-have-left-the-asylum

For the ViewModelIndexer class when I called CompositionInitializer.SatisfyImports(this); My         [ImportMany(&quot;ViewModel&quot;, AllowRecomposition = true)]
        public IEnumerable&lt;Lazy&gt; ViewModelsLazy { get; set; }  variable populated correctly but not my         [ImportMany(&quot;ViewModel&quot;, AllowRecomposition = true)]
        public IEnumerable&lt;ExportFactory&gt; ViewModelsFactories
        {
            get;
            set;
        }

which utilizes the ExportFactory class.  I noticed that the export factory class is in the ComponentModel.Composition.Initialization.Desktop_4 under both System and Microsoft.  What am I missing?  I&#039;m new to WPF so I&#039;m not really understanding where the disconnect is.  I stepped into the 
CompositionInitializer.SatisfyImports(this) and traced it but i&#039;m still not fully understanding how to solve this issue.

Help please!</description>
		<content:encoded><![CDATA[<p>I&#8217;m a WPF developer and I want my application to us MEF to handle my modelviews &amp; views.  I realized that the CompositionInitializer.SatisfyImports(this) was not working and that&#8217;s when i stumbled until this site.  I downloaded the ComponentsModel.Composition.Initialization.Desktop and after adding this dll to my project&#8230;it &#8220;kind of&#8221; worked.</p>
<p>Basically I was following John Papa&#8217;s blog on how to use mvvm light framework and mef.<br />
<a href="http://johnpapa.net/simple-viewmodel-locator-for-mvvm-the-patients-have-left-the-asylum" rel="nofollow">http://johnpapa.net/simple-viewmodel-locator-for-mvvm-the-patients-have-left-the-asylum</a></p>
<p>For the ViewModelIndexer class when I called CompositionInitializer.SatisfyImports(this); My         [ImportMany("ViewModel", AllowRecomposition = true)]<br />
        public IEnumerable&lt;Lazy&gt; ViewModelsLazy { get; set; }  variable populated correctly but not my         [ImportMany("ViewModel", AllowRecomposition = true)]<br />
        public IEnumerable&lt;ExportFactory&gt; ViewModelsFactories<br />
        {<br />
            get;<br />
            set;<br />
        }</p>
<p>which utilizes the ExportFactory class.  I noticed that the export factory class is in the ComponentModel.Composition.Initialization.Desktop_4 under both System and Microsoft.  What am I missing?  I&#8217;m new to WPF so I&#8217;m not really understanding where the disconnect is.  I stepped into the<br />
CompositionInitializer.SatisfyImports(this) and traced it but i&#8217;m still not fully understanding how to solve this issue.</p>
<p>Help please!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MEF CompositionInitializer for WPF by Patrick Mancier</title>
		<link>http://reedcopsey.com/2010/03/26/mef-compositioninitializer-for-wpf/#comment-1940</link>
		<dc:creator>Patrick Mancier</dc:creator>
		<pubDate>Fri, 16 Dec 2011 14:54:25 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/03/26/mef-compositioninitializer-for-wpf/#comment-1940</guid>
		<description>Thanks for the response. I did appy the idea you present of importing the ViewModel in my view code behind and use the IPartImportsSatisfiedNotification interface to set the data context once the view model has been imported.   This approach seems to work pretty well.

There is one thing that might be detrimental to my approach I thought about and that is that if any of the imports change during execution apparently the imports will not be recomposed/updated. From what I am reading that really the main difference between SatisfyImportsOnce and SatistfyImports.  I dont know if I need to worry about it for the particular case Im interested in but perhaps others would have an issue with my approach.  It is a bit frustrating the Microsoft did not include those composition calls for WPF layer because I am not completely happy with using my technique but I guess until I find some weakness to it Ill be using it.  So far the code is working as I would expect it to.</description>
		<content:encoded><![CDATA[<p>Thanks for the response. I did appy the idea you present of importing the ViewModel in my view code behind and use the IPartImportsSatisfiedNotification interface to set the data context once the view model has been imported.   This approach seems to work pretty well.</p>
<p>There is one thing that might be detrimental to my approach I thought about and that is that if any of the imports change during execution apparently the imports will not be recomposed/updated. From what I am reading that really the main difference between SatisfyImportsOnce and SatistfyImports.  I dont know if I need to worry about it for the particular case Im interested in but perhaps others would have an issue with my approach.  It is a bit frustrating the Microsoft did not include those composition calls for WPF layer because I am not completely happy with using my technique but I guess until I find some weakness to it Ill be using it.  So far the code is working as I would expect it to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MEF CompositionInitializer for WPF by Reed</title>
		<link>http://reedcopsey.com/2010/03/26/mef-compositioninitializer-for-wpf/#comment-1939</link>
		<dc:creator>Reed</dc:creator>
		<pubDate>Fri, 16 Dec 2011 00:57:59 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/03/26/mef-compositioninitializer-for-wpf/#comment-1939</guid>
		<description>That&#039;s basically the same approach, Patrick.  Its just that you&#039;re holding the container in a static variable instead of using the CompositionInitializer.</description>
		<content:encoded><![CDATA[<p>That&#8217;s basically the same approach, Patrick.  Its just that you&#8217;re holding the container in a static variable instead of using the CompositionInitializer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MEF CompositionInitializer for WPF by Patrick Mancier</title>
		<link>http://reedcopsey.com/2010/03/26/mef-compositioninitializer-for-wpf/#comment-1937</link>
		<dc:creator>Patrick Mancier</dc:creator>
		<pubDate>Thu, 15 Dec 2011 21:42:28 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/03/26/mef-compositioninitializer-for-wpf/#comment-1937</guid>
		<description>Ok, I am not exactly sure if what Im about to say is relevant, but I got this working without having to use the code in this article.  I initially tried using this code and simply could not make it work, it was giving me some kind of error in not being able to find some definition in the container.  i spent 1/2 a day on it and simply gave up.

So I found a guy who was making a call to MefBootstrapper.Container.SatisfyImportsOnce(object).  Well, I took this info, and during my call to ConfigureContainer I simply set a static member of my App : Application class to the container, and then call the SatisyImportsOnce in the constructor of my view and my view model .  Everything worked perfectly, all my imports on the view began to populate including my reference to the ViewModel itself and then all my view model imports were populated as well.  It just seems this approach is so  much simplier than incorporating this code presented here.  I think what I did appears to have accomplished the same thing, the only &#039;bad&#039; thing I guess is using a static global to reference the container, but I dont even think thats all that bad.

I am not sure what the difference is between SatifyImports but from the documentation the only &#039;disadvantage&#039; I see is that it is not available for recomposition after using this method.  I am not sure for what I am doing its a big deal, but if anyone reading this can comment on any fault in my method please I would love to hear it because I dont know if what I did is exactly right, all I know is it appears to work.</description>
		<content:encoded><![CDATA[<p>Ok, I am not exactly sure if what Im about to say is relevant, but I got this working without having to use the code in this article.  I initially tried using this code and simply could not make it work, it was giving me some kind of error in not being able to find some definition in the container.  i spent 1/2 a day on it and simply gave up.</p>
<p>So I found a guy who was making a call to MefBootstrapper.Container.SatisfyImportsOnce(object).  Well, I took this info, and during my call to ConfigureContainer I simply set a static member of my App : Application class to the container, and then call the SatisyImportsOnce in the constructor of my view and my view model .  Everything worked perfectly, all my imports on the view began to populate including my reference to the ViewModel itself and then all my view model imports were populated as well.  It just seems this approach is so  much simplier than incorporating this code presented here.  I think what I did appears to have accomplished the same thing, the only &#8216;bad&#8217; thing I guess is using a static global to reference the container, but I dont even think thats all that bad.</p>
<p>I am not sure what the difference is between SatifyImports but from the documentation the only &#8216;disadvantage&#8217; I see is that it is not available for recomposition after using this method.  I am not sure for what I am doing its a big deal, but if anyone reading this can comment on any fault in my method please I would love to hear it because I dont know if what I did is exactly right, all I know is it appears to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting useLegacyV2RuntimeActivationPolicy At Runtime by Reed</title>
		<link>http://reedcopsey.com/2011/09/15/setting-uselegacyv2runtimeactivationpolicy-at-runtime/#comment-1881</link>
		<dc:creator>Reed</dc:creator>
		<pubDate>Fri, 25 Nov 2011 19:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2011/09/15/setting-uselegacyv2runtimeactivationpolicy-at-runtime/#comment-1881</guid>
		<description>Rushi,

The problem is that you need to make the application that&#039;s running set this, not your DLL.  I&#039;m not sure there&#039;s a good way to do this for a setup project, short of moving your DLL into an executable and launching it.  This post&#039;s technique may or may not work, but it could be worth testing in this type of scenario.</description>
		<content:encoded><![CDATA[<p>Rushi,</p>
<p>The problem is that you need to make the application that&#8217;s running set this, not your DLL.  I&#8217;m not sure there&#8217;s a good way to do this for a setup project, short of moving your DLL into an executable and launching it.  This post&#8217;s technique may or may not work, but it could be worth testing in this type of scenario.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting useLegacyV2RuntimeActivationPolicy At Runtime by Rushi</title>
		<link>http://reedcopsey.com/2011/09/15/setting-uselegacyv2runtimeactivationpolicy-at-runtime/#comment-1880</link>
		<dc:creator>Rushi</dc:creator>
		<pubDate>Fri, 25 Nov 2011 12:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2011/09/15/setting-uselegacyv2runtimeactivationpolicy-at-runtime/#comment-1880</guid>
		<description>Hi,

I have a typical situation. I have a project that is using the mixed mode dll. I have set the option useLegacyV2RuntimeActivationPolicy = &quot;true&quot; in the App.config file. Now I have a set up project which is using primary output from my dll having useLegacyV2RuntimeActivationPolicy = &quot;true&quot; . When I install the setup, I am getting the error 
Mixed mode assembly is built against version &#039;v2.0.50727&#039; of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.

Is there a way to change the configuration or adding a configuration to the set up file so that I can fix this error in my setup.

Any help greatly appreciated.

Thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have a typical situation. I have a project that is using the mixed mode dll. I have set the option useLegacyV2RuntimeActivationPolicy = &#8220;true&#8221; in the App.config file. Now I have a set up project which is using primary output from my dll having useLegacyV2RuntimeActivationPolicy = &#8220;true&#8221; . When I install the setup, I am getting the error<br />
Mixed mode assembly is built against version &#8216;v2.0.50727&#8242; of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.</p>
<p>Is there a way to change the configuration or adding a configuration to the set up file so that I can fix this error in my setup.</p>
<p>Any help greatly appreciated.</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Better User and Developer Experiences &#8211; From Windows Forms to WPF with MVVM: Part 7, MVVM by Rob</title>
		<link>http://reedcopsey.com/2010/01/06/better-user-and-developer-experiences-from-windows-forms-to-wpf-with-mvvm-part-7-mvvm/#comment-1876</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Fri, 18 Nov 2011 22:47:56 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/01/06/better-user-and-developer-experiences-from-windows-forms-to-wpf-with-mvvm-part-7-mvvm/#comment-1876</guid>
		<description>In MainView.xaml, you bind the browser to the URI property of the MainViewModel and you update the value of the URI whenever the FeedViewModel_PropertyChanged event fires.  This results in the Feed URI text control at the top of the window also updating.  This doesn&#039;t really cause a problem unless the Load RSS Feed button is pressed again without typing in another URI.

What is the proper/best way to fix this?  I believe you could add a CurrentItemURI property to the MainViewModel class and update and bind to that instead of the URI property.  Alternatively, you could bind to FeedViewModel.SelectedFeedItem.Link (and not update the URI property).

Thanks,

Rob</description>
		<content:encoded><![CDATA[<p>In MainView.xaml, you bind the browser to the URI property of the MainViewModel and you update the value of the URI whenever the FeedViewModel_PropertyChanged event fires.  This results in the Feed URI text control at the top of the window also updating.  This doesn&#8217;t really cause a problem unless the Load RSS Feed button is pressed again without typing in another URI.</p>
<p>What is the proper/best way to fix this?  I believe you could add a CurrentItemURI property to the MainViewModel class and update and bind to that instead of the URI property.  Alternatively, you could bind to FeedViewModel.SelectedFeedItem.Link (and not update the URI property).</p>
<p>Thanks,</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Parallelism in .NET &#8211; Part 1, Decomposition by Angel Eyes</title>
		<link>http://reedcopsey.com/2010/01/19/parallelism-in-net-part-1-decomposition/#comment-1875</link>
		<dc:creator>Angel Eyes</dc:creator>
		<pubDate>Thu, 17 Nov 2011 07:40:15 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/01/19/parallelism-in-net-part-1-decomposition/#comment-1875</guid>
		<description>Thanks, that was very clear and concise. I&#039;m going to read on about the tasks, and all the way to csharp 5.0 and async</description>
		<content:encoded><![CDATA[<p>Thanks, that was very clear and concise. I&#8217;m going to read on about the tasks, and all the way to csharp 5.0 and async</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Setting useLegacyV2RuntimeActivationPolicy At Runtime by Is there a way to control excel to load the addins ? (useLegacyV2RuntimeActivationPolicy issue) &#124; SeekPHP.com</title>
		<link>http://reedcopsey.com/2011/09/15/setting-uselegacyv2runtimeactivationpolicy-at-runtime/#comment-1866</link>
		<dc:creator>Is there a way to control excel to load the addins ? (useLegacyV2RuntimeActivationPolicy issue) &#124; SeekPHP.com</dc:creator>
		<pubDate>Mon, 07 Nov 2011 20:01:19 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2011/09/15/setting-uselegacyv2runtimeactivationpolicy-at-runtime/#comment-1866</guid>
		<description>[...] instantiates this library the CLR loads with this attribute set and everything works fine.(See this link). I cannot modify the excel.exe.config as it is denied in production [...]</description>
		<content:encoded><![CDATA[<p>[...] instantiates this library the CLR loads with this attribute set and everything works fine.(See this link). I cannot modify the excel.exe.config as it is denied in production [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MEF CompositionInitializer for WPF by InterKnowlogy Blogs &#187; Blog Archive &#187; Prism 4, MEF and the CompositionInitializer</title>
		<link>http://reedcopsey.com/2010/03/26/mef-compositioninitializer-for-wpf/#comment-1859</link>
		<dc:creator>InterKnowlogy Blogs &#187; Blog Archive &#187; Prism 4, MEF and the CompositionInitializer</dc:creator>
		<pubDate>Thu, 03 Nov 2011 00:53:02 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/03/26/mef-compositioninitializer-for-wpf/#comment-1859</guid>
		<description>[...] found  here. Thanks Glenn. And in addition, I found lots of other great info from Reed Copsey’s  site. Thanks [...]</description>
		<content:encoded><![CDATA[<p>[...] found  here. Thanks Glenn. And in addition, I found lots of other great info from Reed Copsey’s  site. Thanks [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Synchronizing .NET 4 Tasks with the UI Thread by Reed</title>
		<link>http://reedcopsey.com/2009/11/17/synchronizing-net-4-tasks-with-the-ui-thread/#comment-1858</link>
		<dc:creator>Reed</dc:creator>
		<pubDate>Wed, 02 Nov 2011 18:49:59 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/?p=88#comment-1858</guid>
		<description>Paul,

This is required only because there is no overload for TaskFactory.StartNew that takes a TaskScheduler but not the token and creation options.  The only other option is to create the task, then use Task.Start(scheduler).  Otherwise, you need to specify the other items, as the Task API just exposes it that way.

-Reed</description>
		<content:encoded><![CDATA[<p>Paul,</p>
<p>This is required only because there is no overload for TaskFactory.StartNew that takes a TaskScheduler but not the token and creation options.  The only other option is to create the task, then use Task.Start(scheduler).  Otherwise, you need to specify the other items, as the Task API just exposes it that way.</p>
<p>-Reed</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Synchronizing .NET 4 Tasks with the UI Thread by Paul</title>
		<link>http://reedcopsey.com/2009/11/17/synchronizing-net-4-tasks-with-the-ui-thread/#comment-1857</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Wed, 02 Nov 2011 09:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/?p=88#comment-1857</guid>
		<description>Hi Reed.

when starting a Task directly on the UI thread why the need for the cancellation token and TaskCreationOptions?

thanks
Paul</description>
		<content:encoded><![CDATA[<p>Hi Reed.</p>
<p>when starting a Task directly on the UI thread why the need for the cancellation token and TaskCreationOptions?</p>
<p>thanks<br />
Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Better User and Developer Experiences &#8211; From Windows Forms to WPF with MVVM: Part 7, MVVM by Reed</title>
		<link>http://reedcopsey.com/2010/01/06/better-user-and-developer-experiences-from-windows-forms-to-wpf-with-mvvm-part-7-mvvm/#comment-1856</link>
		<dc:creator>Reed</dc:creator>
		<pubDate>Mon, 31 Oct 2011 16:36:47 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/01/06/better-user-and-developer-experiences-from-windows-forms-to-wpf-with-mvvm-part-7-mvvm/#comment-1856</guid>
		<description>In that case, the Model is your service - basically, the service reference you&#039;d add would be your Model, the ViewModel would be the &quot;glue&quot; that wraps it up for your Xaml, and the View would be the Xaml and similar.

As for MVVM being an architectural pattern, that&#039;s pretty well established.  Even look at Wikipedia: http://en.wikipedia.org/wiki/Model_View_ViewModel ...</description>
		<content:encoded><![CDATA[<p>In that case, the Model is your service &#8211; basically, the service reference you&#8217;d add would be your Model, the ViewModel would be the &#8220;glue&#8221; that wraps it up for your Xaml, and the View would be the Xaml and similar.</p>
<p>As for MVVM being an architectural pattern, that&#8217;s pretty well established.  Even look at Wikipedia: <a href="http://en.wikipedia.org/wiki/Model_View_ViewModel" rel="nofollow">http://en.wikipedia.org/wiki/Model_View_ViewModel</a> &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Better User and Developer Experiences &#8211; From Windows Forms to WPF with MVVM: Part 7, MVVM by Rohit</title>
		<link>http://reedcopsey.com/2010/01/06/better-user-and-developer-experiences-from-windows-forms-to-wpf-with-mvvm-part-7-mvvm/#comment-1854</link>
		<dc:creator>Rohit</dc:creator>
		<pubDate>Mon, 31 Oct 2011 02:46:54 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/01/06/better-user-and-developer-experiences-from-windows-forms-to-wpf-with-mvvm-part-7-mvvm/#comment-1854</guid>
		<description>Thanks Reed, but I am not 100% comfortable when you mention MVVM is architectural pattern, how would you articulate a MVVM design where the business logic sits behind a service (SOA), in that case what is model representing?.
Just to be sure I have asked this question on stackoverflow http://stackoverflow.com/questions/7946041/the-model-in-mvvm and found a link discussing something similar.
http://stackoverflow.com/questions/7474267/mvc3-and-entity-framework/7474357#7474357

Thanks</description>
		<content:encoded><![CDATA[<p>Thanks Reed, but I am not 100% comfortable when you mention MVVM is architectural pattern, how would you articulate a MVVM design where the business logic sits behind a service (SOA), in that case what is model representing?.<br />
Just to be sure I have asked this question on stackoverflow <a href="http://stackoverflow.com/questions/7946041/the-model-in-mvvm" rel="nofollow">http://stackoverflow.com/questions/7946041/the-model-in-mvvm</a> and found a link discussing something similar.<br />
<a href="http://stackoverflow.com/questions/7474267/mvc3-and-entity-framework/7474357#7474357" rel="nofollow">http://stackoverflow.com/questions/7474267/mvc3-and-entity-framework/7474357#7474357</a></p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Better User and Developer Experiences &#8211; From Windows Forms to WPF with MVVM: Part 7, MVVM by Reed</title>
		<link>http://reedcopsey.com/2010/01/06/better-user-and-developer-experiences-from-windows-forms-to-wpf-with-mvvm-part-7-mvvm/#comment-1853</link>
		<dc:creator>Reed</dc:creator>
		<pubDate>Sun, 30 Oct 2011 17:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/01/06/better-user-and-developer-experiences-from-windows-forms-to-wpf-with-mvvm-part-7-mvvm/#comment-1853</guid>
		<description>Rohit,

MVVM is not just about the presentation layer - it&#039;s the overall architectural pattern.

The &quot;Model&quot; in MVVM is the same core model that&#039;s holding your domain/business logic.  The ViewModel is where you&#039;d put any application specific bridge code that&#039;s required.  It&#039;s purpose is to take your Model and expose it to your presentation layer (View).

One of the main goals with MVVM is to keep the &quot;Model&quot; pure - you should be able to use your direct business logic and domain data without change.  The ViewModel is where you place the code required to adapt your model for presentation.

-Reed</description>
		<content:encoded><![CDATA[<p>Rohit,</p>
<p>MVVM is not just about the presentation layer &#8211; it&#8217;s the overall architectural pattern.</p>
<p>The &#8220;Model&#8221; in MVVM is the same core model that&#8217;s holding your domain/business logic.  The ViewModel is where you&#8217;d put any application specific bridge code that&#8217;s required.  It&#8217;s purpose is to take your Model and expose it to your presentation layer (View).</p>
<p>One of the main goals with MVVM is to keep the &#8220;Model&#8221; pure &#8211; you should be able to use your direct business logic and domain data without change.  The ViewModel is where you place the code required to adapt your model for presentation.</p>
<p>-Reed</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Better User and Developer Experiences &#8211; From Windows Forms to WPF with MVVM: Part 7, MVVM by Rohit</title>
		<link>http://reedcopsey.com/2010/01/06/better-user-and-developer-experiences-from-windows-forms-to-wpf-with-mvvm-part-7-mvvm/#comment-1852</link>
		<dc:creator>Rohit</dc:creator>
		<pubDate>Sun, 30 Oct 2011 15:49:33 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/01/06/better-user-and-developer-experiences-from-windows-forms-to-wpf-with-mvvm-part-7-mvvm/#comment-1852</guid>
		<description>First of all thanks for writing the series, I really enjoy reading your post especially on TPL.
One question that came to my mind after reading this series is - MVVM is a pattern used in Presentation Layer right?, so model in MVVM in it&#039;s entirety is not exactly the core that holds domain/business-logic, rather there must exist a dotted line from this model in MVVM to the business layer. Can you please shed some light on this? 

Best Regards,
Rohit</description>
		<content:encoded><![CDATA[<p>First of all thanks for writing the series, I really enjoy reading your post especially on TPL.<br />
One question that came to my mind after reading this series is &#8211; MVVM is a pattern used in Presentation Layer right?, so model in MVVM in it&#8217;s entirety is not exactly the core that holds domain/business-logic, rather there must exist a dotted line from this model in MVVM to the business layer. Can you please shed some light on this? </p>
<p>Best Regards,<br />
Rohit</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Better User and Developer Experiences &#8211; From Windows Forms to WPF with MVVM: Part 7, MVVM by Bill</title>
		<link>http://reedcopsey.com/2010/01/06/better-user-and-developer-experiences-from-windows-forms-to-wpf-with-mvvm-part-7-mvvm/#comment-1848</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Thu, 27 Oct 2011 19:45:07 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/01/06/better-user-and-developer-experiences-from-windows-forms-to-wpf-with-mvvm-part-7-mvvm/#comment-1848</guid>
		<description>Thanks for your thoughts, Reed.  I think I&#039;ll wait for the &quot;next&quot; Development Model that handles both situations.  IMO, MVVM has a gaping hole.</description>
		<content:encoded><![CDATA[<p>Thanks for your thoughts, Reed.  I think I&#8217;ll wait for the &#8220;next&#8221; Development Model that handles both situations.  IMO, MVVM has a gaping hole.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Better User and Developer Experiences &#8211; From Windows Forms to WPF with MVVM: Part 7, MVVM by Reed</title>
		<link>http://reedcopsey.com/2010/01/06/better-user-and-developer-experiences-from-windows-forms-to-wpf-with-mvvm-part-7-mvvm/#comment-1847</link>
		<dc:creator>Reed</dc:creator>
		<pubDate>Thu, 27 Oct 2011 18:01:16 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/01/06/better-user-and-developer-experiences-from-windows-forms-to-wpf-with-mvvm-part-7-mvvm/#comment-1847</guid>
		<description>Bill,  the way I would think of it is this:

If you&#039;re working on code that interacts with your business logic, and is specific to your application at hand, MVVM is appropriate.

If you&#039;re making a reusable control that&#039;s intended to be used within the View layer from &lt;em&gt;any&lt;/em&gt; application, your code is really &quot;pure View&quot; related, and MVVM doesn&#039;t really apply.  In this case, there is no Model, which means a ViewModel doesn&#039;t make sense (its purpose is to bridge between the View layer and your Model).  

The same is true in Windows Forms - When writing a custom control, you don&#039;t necessarily think in terms of architectural patterns like MVP, but rather making a single, reusable component.</description>
		<content:encoded><![CDATA[<p>Bill,  the way I would think of it is this:</p>
<p>If you&#8217;re working on code that interacts with your business logic, and is specific to your application at hand, MVVM is appropriate.</p>
<p>If you&#8217;re making a reusable control that&#8217;s intended to be used within the View layer from <em>any</em> application, your code is really &#8220;pure View&#8221; related, and MVVM doesn&#8217;t really apply.  In this case, there is no Model, which means a ViewModel doesn&#8217;t make sense (its purpose is to bridge between the View layer and your Model).  </p>
<p>The same is true in Windows Forms &#8211; When writing a custom control, you don&#8217;t necessarily think in terms of architectural patterns like MVP, but rather making a single, reusable component.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Better User and Developer Experiences &#8211; From Windows Forms to WPF with MVVM: Part 7, MVVM by Bill</title>
		<link>http://reedcopsey.com/2010/01/06/better-user-and-developer-experiences-from-windows-forms-to-wpf-with-mvvm-part-7-mvvm/#comment-1846</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Thu, 27 Oct 2011 15:40:33 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/01/06/better-user-and-developer-experiences-from-windows-forms-to-wpf-with-mvvm-part-7-mvvm/#comment-1846</guid>
		<description>What&#039;s the difference between &quot;View&quot; and &quot;Pure View&quot;? Are my Pure View coders not my View Coders?</description>
		<content:encoded><![CDATA[<p>What&#8217;s the difference between &#8220;View&#8221; and &#8220;Pure View&#8221;? Are my Pure View coders not my View Coders?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Better User and Developer Experiences &#8211; From Windows Forms to WPF with MVVM: Part 7, MVVM by Bill</title>
		<link>http://reedcopsey.com/2010/01/06/better-user-and-developer-experiences-from-windows-forms-to-wpf-with-mvvm-part-7-mvvm/#comment-1842</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Wed, 26 Oct 2011 18:16:01 +0000</pubDate>
		<guid isPermaLink="false">http://reedcopsey.com/2010/01/06/better-user-and-developer-experiences-from-windows-forms-to-wpf-with-mvvm-part-7-mvvm/#comment-1842</guid>
		<description>Okay, so my &quot;View&quot; team of developers is writing what my customers see (the GUI stuff which, of course, includes controls).  But they&#039;re not doing what the first &quot;V&quot; in MVVM stands for.  They&#039;re &quot;completely outside&quot; of that.  Got it.  Wow.

Only Microsoft could have come up with such a Unified Model that makes so much sense.</description>
		<content:encoded><![CDATA[<p>Okay, so my &#8220;View&#8221; team of developers is writing what my customers see (the GUI stuff which, of course, includes controls).  But they&#8217;re not doing what the first &#8220;V&#8221; in MVVM stands for.  They&#8217;re &#8220;completely outside&#8221; of that.  Got it.  Wow.</p>
<p>Only Microsoft could have come up with such a Unified Model that makes so much sense.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
 
