Correcting Common Mistakes in Asynchronous .NET Code

This is a premium video.

If you attended the conference, you should have got an e-mail with the activation key.

2413 views

Correcting Common Mistakes in Asynchronous .NET Code

1/1/1900 12:00 AM

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!

Update Conference Prague 2018

Attachments


    Ask Author


    Send Question