#17 Correcting Common Mistakes in Asynchronous .NET Code
In this session, we will breakdown the inner-workings of .NET to understand what actually happens when we compile our async code!
We’ll learn how a few easy improvements to our async code can create huge performance gains!
The .NET compiler turns every async method into a class that contains its own state-machine nested inside of a try/catch block. This means that our app-size increases by 100 bytes every time we create an async method, and that every async method could potentially swallow exceptions leading to unintended behavior in our apps. Oh my!
Join me as we take an existing app and optimize its async code together, showing off the performance gains in exception handling, improved run-time speed, and smaller app size!