<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/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>Asynchronous programming in .NET 4.5</title><link>https://www.dotnetzone.gr:443/cs/blogs/kbadas/archive/2014/02/16/asynchronous-programming-in-net-4-5.aspx</link><description>Asynchronous programming has been a part of Microsoft's applications for a long time. However things tend to mature. .NET 4.5, released in August 2012, brought up C# 5 and VB 2012. And along came a new way of creating asynchronous methods. Instead of</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>re: Asynchronous programming in .NET 4.5</title><link>https://www.dotnetzone.gr:443/cs/blogs/kbadas/archive/2014/02/16/asynchronous-programming-in-net-4-5.aspx#75053</link><pubDate>Tue, 18 Feb 2014 22:51:19 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:75053</guid><dc:creator>Παναγιώτης Καναβός</dc:creator><description>&lt;p&gt;You should refrain from using `async void` in general, unless you are trying to create an asynchronous event handler. `async void` methods are essentially fire and forget, they can't be awaited and you can't check whether they failed or not. &amp;nbsp;In ASP.NET especially, you should use Page.RegisterAsyncTask if you want to execute a Task asynchronously. Scott Hanselman has an article describing exactly this case at &lt;a rel="nofollow" target="_new" href="http://www.hanselman.com/blog/TheMagicOfUsingAsynchronousMethodsInASPNET45PlusAnImportantGotcha.aspx"&gt;http://www.hanselman.com/blog/TheMagicOfUsingAsynchronousMethodsInASPNET45PlusAnImportantGotcha.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Asynchronous programming in .NET 4.5</title><link>https://www.dotnetzone.gr:443/cs/blogs/kbadas/archive/2014/02/16/asynchronous-programming-in-net-4-5.aspx#75055</link><pubDate>Wed, 19 Feb 2014 06:56:02 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:75055</guid><dc:creator>k badas</dc:creator><description>&lt;p&gt;You are quite right. I admit I hadn't heard of the &amp;nbsp;problems that might arise from the combination of async and void. I've changed the parts of the article that made use of it. Thanks for the info.&lt;/p&gt;
</description></item></channel></rss>