This is probably the best article I've read on the best practices on using async and await in .NET. It does a great job of explaining return types, exceptions, SynchronizationContext (how I originally stumbled on the article), and the differences between console apps, web apps, and GUI apps.
Definitely worth a read...twice.
https://msdn.microsoft.com/en-us/magazine/jj991977.aspx
I've also attached a PDF of the content in case you want to save that off.
Download PDF
Just some random development ramblings mostly related to the Microsoft .NET platform.
Subscribe to:
Post Comments (Atom)
Can't RDP? How to enable / disable virtual machine firewall for Azure VM
Oh no! I accidentally blocked the RDP port on an Azure virtual machine which resulted in not being able to log into the VM anymore. I did ...
-
Oh no! I accidentally blocked the RDP port on an Azure virtual machine which resulted in not being able to log into the VM anymore. I did ...
-
Here is a full test program that demonstrates how to use SharpZipLib to zip an XElement into a byte array. This allows you to transfer larg...
No comments:
Post a Comment