Compartilhar via


Talk: The Complete Async -- three talks from TechEd Europe 2013

I gave three talks on Async at TechEd Europe. These cover everything you need to know about async, from beginner to advanced.

 

Intro: Using Async in Windows 8. This introductory talk introduces how to use async, the connection between IAsyncOperation and Task, and how to cancel an async operation.

 

Intermediate: Three Essential Tips for Async. (1) Only use Async Void for event-handlers; (2) use TaskCompletionSource to wrap events; (3) understand IO-bound vs CPU-bound code and handle them differently.

 

Advanced: How to be a responsible async library developer. (1) If your signature looks async, then your implementation should be truly async, and vice versa; (2) always use await Task.ConfigureAwait(false) in libraries; (3) Optimize the fast path.

 

The first talk was created by Alex Turner and Mads Torgersen. The third talk was created by Stephen Toub and adapted by Alex Turner.

Comments

  • Anonymous
    June 30, 2013
    great stuff

  • Anonymous
    July 01, 2013
    Great job Lucian! I'm a big fan of your work in VB and Async. It was a bummer that we missed having you at the Build conference in San Francisco. Perhaps next Build. Thanks again.

  • Anonymous
    July 02, 2013
    .NET really blows the doors off everything else!

  • Anonymous
    March 27, 2018
    Can't download source code from link here