<?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>More on Multithreaded UI in WPF</title><link>http://blogs.msdn.com/b/jgalasyn/archive/2007/05/01/more-on-multithreaded-ui-in-wpf.aspx</link><description>Multithreading support in WPF has been much on my mind lately, especially with my MediaBarrage app. Dwayne Need has a nice discussion of multithreaded UI here . His quick demo is very informative and shows how to compose pieces of UI from different threads</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: More on Multithreaded UI in WPF</title><link>http://blogs.msdn.com/b/jgalasyn/archive/2007/05/01/more-on-multithreaded-ui-in-wpf.aspx#2362442</link><pubDate>Tue, 01 May 2007 23:24:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2362442</guid><dc:creator>JGalasyn</dc:creator><description>&lt;p&gt;Hi Udi, thanks for your question. I don't think WPF provides anything fundamentally new, except for the Dispatcher and the System.Windows.Threading namespace. For more on the WPF threading model, see &amp;quot;Threading Model&amp;quot; (&lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/ms741870.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms741870.aspx&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;The .NET Framework provides other options than those in the System.EnterpriseServices namespace, which iirc is mostly about wrapping COM+/MTS components in managed wrappers. &lt;/p&gt;
&lt;p&gt;Here's a quick list of resources which describe the threading options in the .NET Framework. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Asynchronous Programming Design Patterns&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/ms228969.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms228969.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Threading Design Guidelines&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/f857xew0.aspx"&gt;http://msdn2.microsoft.com/en-us/library/f857xew0.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Managed Threading Best Practices&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/1c9txz50.aspx"&gt;http://msdn2.microsoft.com/en-us/library/1c9txz50.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The most interesting new players (.NET 2.0) may be these:&lt;/p&gt;
&lt;p&gt;BackgroundWorker &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/system.componentmodel.backgroundworker.aspx"&gt;http://msdn2.microsoft.com/en-us/library/system.componentmodel.backgroundworker.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Event-based Async Pattern&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/hkasytyf.aspx"&gt;http://msdn2.microsoft.com/en-us/library/hkasytyf.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I hope you find these topics helpful, and thank you for reading my blog.&lt;/p&gt;
&lt;p&gt;Jim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2362442" width="1" height="1"&gt;</description></item><item><title>re: More on Multithreaded UI in WPF</title><link>http://blogs.msdn.com/b/jgalasyn/archive/2007/05/01/more-on-multithreaded-ui-in-wpf.aspx#2362121</link><pubDate>Tue, 01 May 2007 22:53:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2362121</guid><dc:creator>Udi Dahan</dc:creator><description>&lt;p&gt;Client-side multi-threading is something I do day-in, day-out, and I have to say that the whole treatment of thread-safety for data held/cached on the client is rather poor.&lt;/p&gt;
&lt;p&gt;The only thing we have today (and I mean since .NET 1.0, and apparently going into 3.5) is the SynchronizationAttribute placed on classes that inherit from ContextBoundObject. Of course, this comes with a huge performance penalty.&lt;/p&gt;
&lt;p&gt;Is there something that WPF does that doesn't appear at the BCL level?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2362121" width="1" height="1"&gt;</description></item></channel></rss>