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

YouTube

C# Asynchronous Programming - Async - Await - Task and Deadlock Fix by ConfigureAwait

Software Engineering Courses - SE Courses via YouTube

Overview

Learn asynchronous programming concepts in C# and .NET Core 7 through a hands-on WPF application demonstration. Explore Async, Await, ConfigureAwait, and Task concepts while coding asynchronously. Discover how to prevent deadlocks using ConfigureAwait, utilize Dispatcher.BeginInvoke for updating UI elements from different tasks and threads, and implement HttpClient for asynchronous web page downloads. Gain practical knowledge on composing demo applications, generating and fixing async deadlocks, making UIs responsive, and creating non-blocking asynchronous code using TaskFactory and ContinueWith.

Syllabus

Introduction Task, Async, Await and composing the demo application
Generating Async deadlock causing example
How to see thread IDs during the runtime
How to fix deadlock
How to use ConfigureAwait properly
How to make UI responsive with proper Async Await usage
How to make async but main thread blocking code with TaskFactory.StartNew and Task.Wait
How to make fully asynchronous and non-blocking UI with TaskFactory and ContinueWith
How to update UI thread from sub-thread with Dispatcher

Taught by

Software Engineering Courses - SE Courses

Reviews

Start your review of C# Asynchronous Programming - Async - Await - Task and Deadlock Fix by ConfigureAwait

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.