Flashlight (Xamarin.Essentials API of the Week)

This week, James is joined by friend of the show Dean Faizel, Microsoft Mobile Customer Advisory Team Engineer, who talks us through the best practices of using async and await in mobile development.
Show Links:
Useful Links:
Just trying to see what's out there.
Good stuff! Very helpful and informative. Glad you covered the pattern of "return await" instead of returning the Task directly when possible!
P.S - Hi Dean!!
- PK
Bad task return (9 seconds) was actually quicker than good task return (13 seconds). Tthe presenter said good task return was 6 seconds but clearly showed 13 seconds on the screen.
In one of your examples, your fix was to call Device.BeginInvokeOnMainThread(). Why didn't you just delete the ConfigureAwait(False) from the line before? Wouldn't that have had the same result?
Thanks!