Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Async Programming in C#

via LinkedIn Learning

Overview

Get a hands-on overview of asynchronous programming in the C# programming language.

Syllabus

Introduction
  • Create happier users with asynchronous C#
  • What you should know
1. Understanding Asynchronous Programming
  • What is asynchronous programming?
  • When and why to write asynchronous code
  • Patterns for asynchronous programming in C#
2. Working with Tasks
  • Creating and executing tasks
  • Waiting for tasks to complete
  • Using continuations
  • Updating the user interface
  • Challenge: Create and continue a task
  • Solution: Create and continue a task
3. Using async and await
  • Benefits of using async and await
  • Awaiting a task
  • Handling exceptions
  • Challenge: Await HTTP requests
  • Solution: Await HTTP requests
4. Task Cancellation and Progress Monitoring
  • Using cancellation tokens
  • Implementing timeout cancellations
  • Reporting task progress
  • Challenge: Cancel a slow HTTP request
  • Solution: Cancel a slow HTTP request
Conclusion
  • Next steps

Taught by

Anton Delsink

Reviews

4.7 rating at LinkedIn Learning based on 104 ratings

Start your review of Async Programming in C#

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.