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

Building Your Azure Skills Toolkit
Microsoft via edX
Asynchronous Programming in C# and .NET Core
Microsoft via edX
Data Access in C# and .NET Core
Microsoft via edX
Implementing SOLID Principles in C# with .NET Core
Coursera Project Network via Coursera
RESTful Web API - The Complete Guide (.NET7 API) Part 1
Udemy