The Core of .NET

TH11 I'll Get Back to You: Task, Await, and Asynchronous Methods in C#

06/16/2022

11:00am - 12:15pm

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. So let's start with the basics and look at how we can call asynchronous methods using Task and then see how the "await" operator can makes things easier for us. Along the way, we'll look at continuations, ConfigureAwait, and exception handling.

You will learn:

  • How to run code after a Task is complete
  • How to handle exceptions that occur in an asynchronous method
  • When to use "ConfigureAwait"