Visual Studio / .NET Framework

W08 I"ll Get Back to You: Understanding Task, Await, and Asynchronous Methods

10/18/2017

9:30am - 10:45am

Level: Introductory to Intermediate

Jeremy Clark

Developer Educator

JeremyBytes.com

There's a lot of confusion about async/await, Task/TPL, and asynchronous and parallel programming in general. This session starts with the basics and looks at how to consume asynchronous methods using Task and then see how the "await" operator can makes things easier. Along the way, you'll also look at continuations, cancellation, and exception handling.

You will learn:

  • How to consume asynchronous methods using Task (for flexibility) or await (for easy use)
  • How to handle exceptions that happen in asynchronous methods
  • How to request cancellation with a CancellationTokenSource