Async await scenarios in xamarin apps. The good, the bad, and the ugly.
Bad examples and how to fix them Bad Examples 1:
- Invoking tasks
- Awaiting multiple tasks
- Returning tasks
- Threading
Bad Examples 2:
- Updating UI properties
- Handling exceptions
- Timing out tasks
- Using TaskCompletionSource
Bad Examples 3:
- Using LongRunningTask
Other samples/experiments
- Executing tasks:
- The various ways to execute a task without awaiting. Just for illustration purposes. Don't execute tasks without awaiting unless there's a good reason to!
- Awaiting tasks:
- How to await tasks properly.
- Configure await:
- Using configure await.
- Awaiting multiple tasks:
- The different methods for executing multiple tasks asynchronously.
Channel9 Async Await: https://channel9.msdn.com/Tags/async
Stephen Toub's blog posts: https://devblogs.microsoft.com/dotnet/author/toub/
Stephen Cleary's blog posts: https://blog.stephencleary.com/
Brandon Minnick's Async/Await talk: https://www.youtube.com/watch?v=J0mcYVxJEl0
TPL Dataflow: https://channel9.msdn.com/Shows/Going+Deep/Stephen-Toub-Inside-TPL-Dataflow