#32 Async internals in .NET

Async and await are now common elements of .NET ecosystem. Do you know how they work? Do you know what is synchronization context, how to wait for async void methods or how to implement custom task scheduler? In this talk I show internals of async and await. I present state machine created by the compiler, consider allocation issues and show typical deadlock scenarios. We will see how to call async methods from synchronous code, how to wait for async void, how to implement custom synchronization context or task scheduler to handle exceptions, and how to run task without allocation at all.
Expert .NET Framework / Core

Day 2

15 Nov 2019
Hall B 13:30 - 14:20

How did you like it?

We appreciate your privacy. Feedback is anonymous and is used to improve quality of our conferences.

Záznam přednášky

Other speaker sessions

The speaker has no sessions.