#133 Brandon Minnick, Async Await – Common Mistakes, Part 1

Brandon Minnick of Microsoft talks about common mistakes when using async/await and offers solutions.

Who he is, what he does. What asynchronous programming is, calling code that will return an answer in the future; multithreading. How to make a synchronous method asynchronous, freeing the calling thread; what the compiler does with async code - awaits, switch statements, move next and try catch. Calling async from sync, don't use .Result() it's a blocking call, .Result() throws an aggregate exception; use .GetAwaiter().GetResult().

Brandon's Twitter

Brandon's talk on async/await at NDC Oslo

Download mp3 of podcast

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.