Asychronous Programming in Visual Studio 2012

Download this episode

Download Video


The arrival of web services and cloud computing requires developers to find ways to keep their applications responsive while dealing with remote, slow resources. The Windows Runtime doesn't allow programs to make blocking calls - all potentially long-running operations (even opening a file) must be done asynchronously. But asynchronous programming has traditionally required complex, hard to read program flows. C# 5 and Visual Basic 11 address this by supporting asynchrony at the language level, making it easy to write responsive, non-blocking programs while dramatically simplifying the code. In this session you'll see how to use C#'s new async support in both .NET 4 and Windows Runtime applications, and how to enable your own methods to be called asynchronously. We'll also peek behind the scenes to see how the C# compiler implements async methods and calls, and look at some more advanced options for asynchronous processing.
For more information, check out this course on Microsoft Virtual Academy:







Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.