YoVDO

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

Offered By: Software Engineering Courses - SE Courses via YouTube

Tags

C# Courses .NET Core Courses Deadlock Prevention Courses

Course Description

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

Related Courses

What is Deadlock - Necessary Conditions - Handling Methods
CodeHelp - by Babbar via YouTube
Flattened Clos - Designing High-performance Deadlock-free Expander Data Center Networks Using Graph Contraction
USENIX via YouTube
Back to Basics - Efficient Async and Await
NDC Conferences via YouTube
Back to Basics - Efficient Async and Await
NDC Conferences via YouTube
Back to Basics - Efficient Async and Await
NDC Conferences via YouTube