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.
- Watch video online
- Download slides.pptx [500k]
- Download C# source code.zip [6mb]
- Download speaker notes.docx [30k]
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.
- Watch video online
- Download slides.pptx [6mb]
- Download VB source code.zip [400k]
- Download speaker notes.docx [35k]
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.
- Watch video online
- Download slides.pptx [1mb]
- Download C# source code.zip [30k]
- Download speaker notes.docx [30k]
The first talk was created by Alex Turner and Mads Torgersen. The third talk was created by Stephen Toub and adapted by Alex Turner.