Monday
Room 4
09:00 - 17:00
(UTC±00)
1 Day
Become an Expert with Async/Await in C#
Did you know that the .NET compiler turns our async methods into a struct? And that .NET adds a try/catch block to our code, potentially hiding thrown exceptions? It's true!
.NET
Concurrency
In this workshop, we will dive deep into how .NET implements asynchronous programming under the hood to become experts using async/await!
Join me as we uncover the ways that the .NET compiler modifies each of our async methods. We'll learn how to build a custom implementation of `Task` from scratch and use it with the built-in async/await keywords. Then we'll dive deep into the .NET source code to understand the importance of internal framework tools like SynchronizationContext, ExecutionContext, Principal, ThreadStatic and more!