Six Essential Tips for Async

Async involves some new concepts. They're not difficult; just unfamiliar. Over the past year Lucian Wischik has been watching how people use Async in C# and VB. This series distils out the six essential async patterns and anti-patterns.

  • Tip 1: Async void is for top-level event-handlers only
    20 minutes, 37 seconds
  • Tip 2: Distinguish CPU-Bound work from IO-bound work
    16 minutes, 6 seconds
  • Six Essential Tips For Async - Introduction
    5 minutes, 31 seconds
  • Tip 4: Async Library Methods Shouldn't Lie
    16 minutes, 25 seconds
  • Tip 6: Async library methods should consider using Task.ConfigureAwait(false)
    5 minutes, 28 seconds
  • Tip 3: Wrap events up in Task-returning APIs and await them
    15 minutes, 32 seconds
  • Tip 5: Async libraries APIs should be chunky
    14 minutes, 39 seconds