C# Asynchronous Programming - Async - Await - Task and Deadlock Fix by ConfigureAwait
Offered By: Software Engineering Courses - SE Courses via YouTube
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
Beginning Game Programming with C#University of Colorado System via Coursera Programming with C#
Microsoft via edX DEV206.1x: Introduction to XAML and Application Development
Microsoft via edX Introduction to Game Development
Michigan State University via Coursera Designing Advanced Applications using XAML
Microsoft via edX