<?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 CTP (SP1 Refresh)</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/04/13/async-ctp-refresh.aspx</link><description>By Robin Reynolds-Haertle 
 This morning, we released an updated version of the Visual Studio Async CTP (SP1 Refresh) that&amp;rsquo;s compatible with Visual Studio 2010 SP1 and Windows Phone 7! 
 What Is the Visual Studio Async CTP (SP1 Refresh)? 
 The</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Async CTP (SP1 Refresh)</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/04/13/async-ctp-refresh.aspx#10209941</link><pubDate>Tue, 13 Sep 2011 15:10:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10209941</guid><dc:creator>TorstenR</dc:creator><description>&lt;p&gt;Is the CTP refresh for x32systems only? How about x64?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10209941" width="1" height="1"&gt;</description></item><item><title>re: Async CTP (SP1 Refresh)</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/04/13/async-ctp-refresh.aspx#10204610</link><pubDate>Thu, 01 Sep 2011 19:51:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10204610</guid><dc:creator>Jerry T.</dc:creator><description>&lt;p&gt;Async CTP (SP1 Refresh) now conflicts with the new SL 5 RC that was just released:&lt;/p&gt;
&lt;p&gt;Error	9	The type &amp;#39;System.Threading.Tasks.TaskCompletionSource&amp;lt;TResult&amp;gt;&amp;#39; exists in both &amp;#39;C:\Program Files (x86)\Microsoft Visual Studio Async CTP\Samples\AsyncCtpLibrary_Silverlight.dll&amp;#39; and &amp;#39;C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v5.0\mscorlib.dll&amp;#39;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10204610" width="1" height="1"&gt;</description></item><item><title>re: Async CTP (SP1 Refresh)</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/04/13/async-ctp-refresh.aspx#10202674</link><pubDate>Tue, 30 Aug 2011 12:38:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10202674</guid><dc:creator>Daniel Shitrit</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you know why after instllaled this libary &lt;a rel="nofollow" target="_new" href="http://msdn.com/vstudio/async"&gt;http://msdn.com/vstudio/async&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;the async.dll does not appear in MyDocuments\Async CTP Samples.&lt;/p&gt;
&lt;p&gt;I used vs 2010, window 7.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Daniel Shitrit&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10202674" width="1" height="1"&gt;</description></item><item><title>re: Async CTP (SP1 Refresh)</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/04/13/async-ctp-refresh.aspx#10170092</link><pubDate>Tue, 31 May 2011 22:04:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10170092</guid><dc:creator>Felix</dc:creator><description>&lt;p&gt;Could you elaborate on this CTP&amp;#39;s compatibility with MVC3.&lt;/p&gt;
&lt;p&gt;It gets installed with no problems... However, if I try to invoke async/await function in MVC controller, the task is stuck in &amp;quot;WaitingForActivation&amp;quot; status. Is it me (that is, is there some doc / blog post / example that works), or is it not working yet, or is it a bug?&lt;/p&gt;
&lt;p&gt;(pretty much exactly the same command-line code works fine)&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Sorry for re-posting from &lt;a rel="nofollow" target="_new" href="http://social.msdn.microsoft.com/Forums/en/async/thread/05606a63-0474-4461-8672-e5ae92956cf9"&gt;social.msdn.microsoft.com/.../05606a63-0474-4461-8672-e5ae92956cf9&lt;/a&gt; - not sure which is more appropriate...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10170092" width="1" height="1"&gt;</description></item><item><title>re: Async CTP (SP1 Refresh)</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/04/13/async-ctp-refresh.aspx#10158466</link><pubDate>Wed, 27 Apr 2011 03:39:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10158466</guid><dc:creator>Tired of VStudio only getting 1 SP</dc:creator><description>&lt;p&gt;Here&amp;#39;s hoping MS really cares that you bought VStudio 2010, and releases a SP2; &amp;nbsp;SP1 slows things down and introduces new bugs. &amp;nbsp;Sometimes when I see all the hype surrounding an upcoming new release of studio (you know...thousands of articles and videos everywhere about how cool it is)...I just wander, do they really care I bought the previous one?? &amp;nbsp;I&amp;#39;m tired of MS taking all the user&amp;#39;s feedback (bugs, etc.) about the current version, then pour it all into the next one.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10158466" width="1" height="1"&gt;</description></item><item><title>re: Async CTP (SP1 Refresh)</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/04/13/async-ctp-refresh.aspx#10157826</link><pubDate>Mon, 25 Apr 2011 20:04:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10157826</guid><dc:creator>Chris Coyne</dc:creator><description>&lt;p&gt;This is really neat - at my job we use a tool called TAME to write all our C++ in this way, with async code not splitting our functions in half. I do a lot of C# programming in my free time, so I&amp;#39;m excited to see this kind of thing included natively. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;One thing that&amp;#39;s missing from your example though: how do I make multiple calls in one blocking group, so they fire simultaneously, only to continue when all have been called back? &amp;nbsp;This comes up all the time in an async architecture...I&amp;#39;ll make something up using syntax like yours above to show what I mean:&lt;/p&gt;
&lt;p&gt;//-------------------&lt;/p&gt;
&lt;p&gt;await &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;var data1 = makeAsyncCallToService1();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;var data2 = makeAsyncCallToService2();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;var data3 = makeAsyncCallToService3();&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;nowDoSomethingWith(data1,data2,data3);&lt;/p&gt;
&lt;p&gt;//-------------------&lt;/p&gt;
&lt;p&gt;The last thing I&amp;#39;d want to do is call them all in serial. But I can&amp;#39;t tell from your example how to fire them simultaneously.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10157826" width="1" height="1"&gt;</description></item><item><title>re: Async CTP (SP1 Refresh)</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/04/13/async-ctp-refresh.aspx#10155730</link><pubDate>Tue, 19 Apr 2011 14:11:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10155730</guid><dc:creator>PL</dc:creator><description>&lt;p&gt;Does the Async CTP SP1 Refresh work with the Silverlight 5 public beta ?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10155730" width="1" height="1"&gt;</description></item><item><title>re: Async CTP (SP1 Refresh)</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/04/13/async-ctp-refresh.aspx#10154031</link><pubDate>Thu, 14 Apr 2011 17:21:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10154031</guid><dc:creator>Mads Torgersen - MSFT</dc:creator><description>&lt;p&gt;@zz: &lt;/p&gt;
&lt;p&gt;You are right. I messed up a bit when I updated the implementation examples to use the new pattern:&lt;/p&gt;
&lt;p&gt;* I forgot to negate the IsCompleted check, as you point out&lt;/p&gt;
&lt;p&gt;* I forgot to replace &amp;quot;EndAwait&amp;quot; with &amp;quot;GetResult&amp;quot; in one place&lt;/p&gt;
&lt;p&gt;I will collect errata for a bit and then post a fixed version online. Unfortunately we cannot update the spec that ships with the CTP download bits.&lt;/p&gt;
&lt;p&gt;Thanks for spotting this!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10154031" width="1" height="1"&gt;</description></item><item><title>re: Async CTP (SP1 Refresh)</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/04/13/async-ctp-refresh.aspx#10153589</link><pubDate>Wed, 13 Apr 2011 22:06:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10153589</guid><dc:creator>zz</dc:creator><description>&lt;p&gt;You may want to double check the code examples in the new &amp;quot;C# Language Specification for Asynchronous Functions&amp;quot; document (&lt;a rel="nofollow" target="_new" href="http://go.microsoft.com/fwlink/?LinkId=204845"&gt;go.microsoft.com/fwlink&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;All the implementation examples are using &amp;quot;if ($a1.IsCompleted)&amp;quot; but it needs to reverse check to be &amp;quot;if (!$a1.IsCompleted)&amp;quot; according to the specifications.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10153589" width="1" height="1"&gt;</description></item><item><title>re: Async CTP (SP1 Refresh)</title><link>http://blogs.msdn.com/b/visualstudio/archive/2011/04/13/async-ctp-refresh.aspx#10153463</link><pubDate>Wed, 13 Apr 2011 18:21:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10153463</guid><dc:creator>Avner Aharoni</dc:creator><description>&lt;p&gt;Yes, the CTP is compatible with MVC 3 tools. Make sure to uninstall the first CTP if you have it installed before you install SP1. After installing SP1 you should be able to install MVC3 and Async CTP in any order you like.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10153463" width="1" height="1"&gt;</description></item></channel></rss>