Various demos, tips and tricks for using async in C#
Sample code for making and canceling Async Calls.
Article on Cancellation Tokens https://markhazleton.com/cancellation-token.html
Article on Async and Decorator Pattern https://markhazleton.com/decorator-pattern-http-client.html
Sample source code for the following blog post https://johnthiriet.com/cancel-asynchronous-operation-in-csharp/
Another async blog post from John Thiriet https://johnthiriet.com/mvvm-going-async-with-async-command/
Current Hosted at https://asyncdemoweb.azurewebsites.net/
https://montemagno.com/c-sharp-developers-stop-calling-dot-result/
https://codereview.stackexchange.com/questions/113108/async-task-with-timeout
Souce of CancelAsyncWithToken project:
Article on Crafting a Task.Timeout https://devblogs.microsoft.com/pfxteam/crafting-a-task-timeoutafter-method/
Related Stack Overflow Question https://stackoverflow.com/questions/4238345/asynchronously-wait-for-taskt-to-complete-with-timeout
Blog post on surfacing retry count for diagnostics https://www.stevejgordon.co.uk/polly-using-context-to-obtain-retry-count-diagnostics
Blog post on Polly Retry and Circuit Breaker Pattern https://medium.com/@therealjordanlee/retry-circuit-breaker-patterns-in-c-with-polly-9aa24c5fe23a
http://www.thepollyproject.org/ Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner.