Best practices for using async and await
await keywords have been a part of the C# programming language for a long time. Despite that, they still hide pitfalls that not only beginners but also more experienced developers occasionally fall into.
In this talk, I will present some of the most common mistakes we can make when writing asynchronous code and show ways to avoid them. Key topics:
async voidis dangerous
- avoiding deadlocks
- synchronization context