YoVDO

Async Programming in C#

Offered By: LinkedIn Learning

Tags

C# Courses Asynchronous Programming Courses Multithreading Courses Windows Forms Courses Task Parallel Library Courses

Course Description

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

Related Courses

Learn Parallel Programming with C# and .NET
Udemy
Building Multithreaded C# Applications with the Task Parallel Library
Pluralsight
Applying Asynchronous Programming in C#
Pluralsight
C# 5 New Features
Pluralsight
Getting Started with Asynchronous Programming in .NET
Pluralsight