
Using Async / Await in C# as Designed
csharp
by Keith Voels
Sat, Apr 15, 2023
Room:
P0838
Time:
12:3
True or False: Async / Await is multi-threading? False. They are asynchronous programming keywords within Microsoft’s ‘Task Based Asynchronous Pattern’ (TAP). Asynchronous programming improves efficiency by reducing the number of threads. I’ll show case the efficiency gains. Then cover the design and under-the-covers mechanisms of TAP. You will learn what ConfigureAwait(false) is for. I’ll also highlight 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.