Twin Cities Code Camp

April 15, 2023

Normandale Community College, Bloomington, MN

Keith Voels

Understanding Async, Await and Task in C#

by Keith Voels

Sat, Apr 15, 2023
Room: P0838
Time: 12:30

Today Async, Await and Task are ubiquitous in C# code. But why? They simplify asynchronous programming. What is asynchronous programming and why use it? I'll show you! I'll explain asynchronous programming and demonstrate the efficiency gains. Then cover some specifics of Microsoft's Task-based asynchronous pattern including the need for 'ConfigureAwait(false)'. I'll also cover some common pitfalls including why not to use 'async void' methods.

About the Author

I have been a .NET application developer for 20 years including 10 years as an enterprise architect. I am passionate about optimizing performance and elegance by perfecting the use of the tools at hand.