Asychronous Programming in Visual Studio 2012

58 minutes, 28 seconds


Right click “Save as…”

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:

Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.