Track 6C# & the .NET Runtime
Async & Concurrency
Write responsive, scalable code with tasks, async/await and safe parallelism.
- 6.1
Tasks
- Task & Task<T>
- Threads vs tasks
- 6.2
async / await
- How await works
- The state machine
- Common pitfalls
- 6.3
Cancellation & timeouts
- CancellationToken
- Timeouts
- 6.4
Parallelism & thread safety
- Parallel.ForEach
- lock
- Concurrent collections
- Channels