async-await the right way

I want to recommend two blog posts about the usage of the async await pattern in C#. The first one is a blog by Stephen Toub, “Await, and UI, and deadlocks! Oh my!” which is already a few years old (from 2011), but is still valid. And the other one is by Jon Goldberger, “Getting Started with Async / Await”. Both posts present common pitfalls like accessing .Result on the UI Thread and describe solutions on how to do “async all the way”.

Written on February 4, 2019


COMMENTS