Visual Studio / .NET Framework

VSW08 I'll Get Back to You: Understanding Task, Await, and Asynchronous Methods

12/07/2016

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 will start with the basics and look at how you can consume asynchronous methods using Task and then see how the "await" operator can makes things easier for us. Along the way, you'll 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