Async coding can be tricky, even in dotnet C#.
Thankfully, Microsoft have published best practice documents:
1. async await best practices
https://learn.microsoft.com/en-us/archive/msdn-magazine/2013/march/async-await-best-practices-in-asynchronous-programming
2. Related: TAP - Task based Asynchronous Pattern
https://learn.microsoft.com/en-us/dotnet/standard/asynchronous-programming-patterns/task-based-asynchronous-pattern-tap?redirectedfrom=MSDN
Related material
- https://channel9.msdn.com/Series/Three-Essential-Tips-for-Async
- https://en.wikipedia.org/wiki/Referential_transparency
1. async await best practices
https://learn.microsoft.com/en-us/archive/msdn-magazine/2013/march/async-await-best-practices-in-asynchronous-programming
2. Related: TAP - Task based Asynchronous Pattern
https://learn.microsoft.com/en-us/dotnet/standard/asynchronous-programming-patterns/task-based-asynchronous-pattern-tap?redirectedfrom=MSDN
Related material
- https://channel9.msdn.com/Series/Three-Essential-Tips-for-Async
- https://en.wikipedia.org/wiki/Referential_transparency
Comments
Post a Comment