<?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>Async in 4.5: Worth the Await</title><link>http://blogs.msdn.com/b/dotnet/archive/2012/04/03/async-in-4-5-worth-the-await.aspx</link><description>Developers often ask for guidance on how to write responsive user interfaces. Reading most books about the .NET Framework over the past ten years, you’ll see coverage of the asynchronous programming model which requires a lot of careful attention while</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Async in 4.5: Worth the Await</title><link>http://blogs.msdn.com/b/dotnet/archive/2012/04/03/async-in-4-5-worth-the-await.aspx#10339372</link><pubDate>Tue, 14 Aug 2012 08:08:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10339372</guid><dc:creator>Scott Barbary</dc:creator><description>&lt;p&gt;Could we have a compiler directive to ignore the async await keywords. &amp;nbsp;With this I could write asynchronous and synchronous code that truly looked the same but have the library compile 2 different ways creating an asynchronous and a synchronous lib.&lt;/p&gt;
&lt;p&gt;At the moment I end up doing this&lt;/p&gt;
&lt;p&gt;public&lt;/p&gt;
&lt;p&gt;#if ASYNCVERSION&lt;/p&gt;
&lt;p&gt;async&lt;/p&gt;
&lt;p&gt;#endif&lt;/p&gt;
&lt;p&gt;MyMethod(i, j);&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10339372" width="1" height="1"&gt;</description></item><item><title>re: Async in 4.5: Worth the Await</title><link>http://blogs.msdn.com/b/dotnet/archive/2012/04/03/async-in-4-5-worth-the-await.aspx#10313309</link><pubDate>Fri, 01 Jun 2012 10:46:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10313309</guid><dc:creator>mctae-light</dc:creator><description>&lt;p&gt;Awesome&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10313309" width="1" height="1"&gt;</description></item><item><title>re: Async in 4.5: Worth the Await</title><link>http://blogs.msdn.com/b/dotnet/archive/2012/04/03/async-in-4-5-worth-the-await.aspx#10300242</link><pubDate>Thu, 03 May 2012 02:41:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10300242</guid><dc:creator>Vaccano</dc:creator><description>&lt;p&gt;I am sure this will all be nice. &amp;nbsp;I look forward to using it in two years when XP is no longer supported by my company (and Microsoft) and I can upgrade to .net 4.5. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10300242" width="1" height="1"&gt;</description></item><item><title>re: Async in 4.5: Worth the Await</title><link>http://blogs.msdn.com/b/dotnet/archive/2012/04/03/async-in-4-5-worth-the-await.aspx#10297211</link><pubDate>Tue, 24 Apr 2012 15:26:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10297211</guid><dc:creator>herbertf</dc:creator><description>&lt;p&gt;please correct: &amp;nbsp; &amp;nbsp; var tcs = new TaskCompletionSource(); requires TResult&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10297211" width="1" height="1"&gt;</description></item><item><title>re: Async in 4.5: Worth the Await</title><link>http://blogs.msdn.com/b/dotnet/archive/2012/04/03/async-in-4-5-worth-the-await.aspx#10297108</link><pubDate>Tue, 24 Apr 2012 11:00:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10297108</guid><dc:creator>herbertf</dc:creator><description>&lt;p&gt;Please add Async to the SerialPort class.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10297108" width="1" height="1"&gt;</description></item><item><title>re: Async in 4.5: Worth the Await</title><link>http://blogs.msdn.com/b/dotnet/archive/2012/04/03/async-in-4-5-worth-the-await.aspx#10296136</link><pubDate>Sat, 21 Apr 2012 19:20:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10296136</guid><dc:creator>Václav Dajbych</dc:creator><description>&lt;p&gt;What about the System.Management.Automation library? Will be possible to invoke PowerShell commands with await keyword?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10296136" width="1" height="1"&gt;</description></item><item><title>re: Async in 4.5: Worth the Await</title><link>http://blogs.msdn.com/b/dotnet/archive/2012/04/03/async-in-4-5-worth-the-await.aspx#10292240</link><pubDate>Tue, 10 Apr 2012 14:19:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10292240</guid><dc:creator>Jeff</dc:creator><description>&lt;p&gt;I know you want to make a point on async/await and you have my respect for that really innovative evolution of .NET.&lt;/p&gt;
&lt;p&gt;But when emphasizing those benefits in the context of performance, am I the only one to stumble upon the utility method &amp;quot;GetMovieDataFromXDoc&amp;quot; not using sth like &amp;quot;yield return tempMovie&amp;quot;? I guess it&amp;#39;s a nit-pick, but when talking about performance I&amp;#39;d like all code shown to be consistent in that matter (just imagine the xml data being several MB of size).&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10292240" width="1" height="1"&gt;</description></item><item><title>re: Async in 4.5: Worth the Await</title><link>http://blogs.msdn.com/b/dotnet/archive/2012/04/03/async-in-4-5-worth-the-await.aspx#10290906</link><pubDate>Wed, 04 Apr 2012 19:28:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10290906</guid><dc:creator>Yiannis</dc:creator><description>&lt;p&gt;Petty this did make to Silverlight 5, which desperately needs this support. Maybe a next release&lt;/p&gt;
&lt;p&gt;:) Great work&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10290906" width="1" height="1"&gt;</description></item><item><title>re: Async in 4.5: Worth the Await</title><link>http://blogs.msdn.com/b/dotnet/archive/2012/04/03/async-in-4-5-worth-the-await.aspx#10290633</link><pubDate>Wed, 04 Apr 2012 05:47:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10290633</guid><dc:creator>JesperEC</dc:creator><description>&lt;p&gt;(Additionally, most of the complexity of the APM example comes from orchestrating two asynchronous operations in lockstep. It&amp;#39;s not something you do everyday, but as long as it takes that sort of work to get right, it&amp;#39;s also something you&amp;#39;re likely to shy away from. That&amp;#39;s the real genius of the TAP model; a proper, composable abstraction that&amp;#39;s easy to get your head around.)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10290633" width="1" height="1"&gt;</description></item><item><title>re: Async in 4.5: Worth the Await</title><link>http://blogs.msdn.com/b/dotnet/archive/2012/04/03/async-in-4-5-worth-the-await.aspx#10290632</link><pubDate>Wed, 04 Apr 2012 05:43:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10290632</guid><dc:creator>JesperEC</dc:creator><description>&lt;p&gt;What the await example generates does indeed look generated, but it also looks completely different.&lt;/p&gt;
&lt;p&gt;The APM example has to go to the ends of the earth to anticipate every outcome and only use tail recursion while calling into itself. Weird switch statement or not, I wouldn&amp;#39;t be surprised if it&amp;#39;s pretty close to the minimal example that actually works correctly.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10290632" width="1" height="1"&gt;</description></item></channel></rss>