Module 08 of 09 · C# From Beginner to Advanced
Asynchronous Programming
Stop blocking a thread while waiting for work that is not yours, and handle the failure modes that come with it.
6 of 6 lessons available
Lessons in this module
- 0116 min
Synchronous vs Asynchronous
AdvancedExplain what blocking costs and when asynchronous code helps.
- 0215 min
Task and Task<T>
AdvancedRepresent work in progress and retrieve its result.
- 0320 min
async and await
AdvancedWrite asynchronous methods that read like ordinary sequential code.
- 0417 min
Cancellation
AdvancedLet long-running work be stopped cleanly with a cancellation token.
- 0518 min
Exceptions in Async Code
AdvancedHandle failures in asynchronous work, including several concurrent failures.
- 0618 min
Running Work Concurrently
AdvancedStart several operations together with Task.WhenAll and know when not to.
Have a project worth talking through?
Tell us what you're building or what's slowing your current system down. We'll give you a direct read on scope and approach.