How much do we really know about how async/await works in .NET? 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!
Brandon Minnick
Xamarin + Azure Developer Advocate at Microsoft About Speaker

Day 1
16:00 - 16:50
Hall B Map of The Venue

How did you like it?

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

 

.NET
Advanced