Level: Introductory to Intermediate
There's a lot of confusion about async/await, Task/TPL, and asynchronous and parallel programming in general. So 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. 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
- About request and respond to cancellation