Learn Multithreading & Asynchronous Programming in C# | .NET 8 | 2024 | Parallel Programming

preview_player
Показать описание
🎁ALL-ACCESS Subscription: Unlock access to all of my courses, both now and in the future at a low $19.99 / month.

💎 Master Multithreading & Asynchronous Programming in C# and .NET 8

💎 Blazor Deep Dive in .NET 8 - From Beginner to Advanced

💎 Learn Blazor while building an Inventory Management System in .NET 8

💎 Become advanced-level programmer with challenges from CodeCrafters. Over 50k devs use CodeCrafters, including staff-level engineers at Google, GitHub, Vercel, and more. Use the following link to get 40% off:

💎 Learn .NET Core MVC in .NET 8 by building a Market Management System

💎 Complete Guide to ASP.NET Core Identity in .NET 8

💎 Complete Web API Course in .NET 8

💎 SQL Masterclass: From Zero to Hero with SQL Server

💎Learn .NET MAUI while creating a Contacts App in .NET 7:

🔥Learn Blazor while creating an Inventory Management System in .NET 6

💎Complete Blazor Course: Build an e-commerce app with ASP.NET Blazor and Clean Architecture

👍Clearn Architecture Course

00:00:00 Introduction
00:03:45 CPU, Thread and Thread Scheduler
00:11:26 Basic Syntax to start a thread
00:26:30 Why threading Divide and Conquer
00:38:35 Why threading Offload long running tasks
00:49:41 Assignment 1 (Question): Create a Web Server
00:54:47 Assignment 1 (Answer): Create a Web Server
01:04:16 Threads Synchronization Overview
01:15:40 Critical Section and Atomic Operation
01:19:44 Exclusive Lock
01:24:25 Assignment 2 (Question) - Airplane seats booking system
01:28:11 Assignment 2 (Answer) - Airplane seats booking system
01:37:30 Use Monitor to add timeout for locks
01:49:57 Use Mutex to synchronize across processes
02:08:27 Reader and Writer Lock
02:25:41 Use semaphore to limit number of threads
02:43:36 Use AutoResetEvent for signaling
02:58:43 Use ManualResetEvent to release multiple threads
03:06:32 Assignment 3 - Two way signaling in Producer - Consumer scenario
03:10:07 Assignment 3 (Answer): Two way signaling in Producer - Consumer scenario
03:26:10 Thread Affinity
03:38:46 Thread Safety
03:41:15 Nested locks and deadlock

The following are in the full course (see links above)
Multithreading MISC
Debug programs with multiple threads
States of a thread
Make thread wait for some time
Returning results from a thread
Canceling a thread
Thread Pool
Exception handling in threads
Task based Asynchronous Programming
Multithreading vs Asynchronous Programming
Basic Syntax of using Task
Task vs Thread
Task uses thread pool by default
Returning result from Task
Assignment 4 (Question) - Returning results from Task
Assignment 4 (Answer) - Returning results from Task
Task Continuation - Wait, WaitAll, Result
Task Continuation - ContinueWith
Task Continuation WhenAll, WhenAny
Task Continuation - Continuation Chain & Unwrap
Exception Handling in Tasks
Tasks synchronization
Task Cancelation
Async and Await
Overview of Async & Await
Basic syntax of Async and Await
Which thread is used
Continuation after returning value
Exception handling with async and await
Await and Synchronization context
What does await do
Parallel Loops
Parallel Loops Overview and Basic Syntax
What happens behind the scene
Exception handling in parallel loops
Stop
Break
ParallelLoopResult
Cancelation in Parallel Loops
Thread local storage
Performance considerations
PLINQ
Basics of PLINQ
Producer, consumer and buffer
foreach vs ForAll
Exception handling in PLINQ
Cancelation in PLINQ
Concurrent Collections
ConcurrentQueue
ConcurrentStack
BlockingCollection and Producer & Consumer scenario

#csharp #dotnet #multithreading #parallelprogramming
Рекомендации по теме
Комментарии
Автор

You’re the best! I went through many tutorials to find answers to my questions, but nothing worked. Finally, I found you, and you’ve been an amazing teacher. Thank you! Please keep making videos on microservices and unit testing, GIT, AZURE ! <3

yasminacherfi
Автор

¡Gracias! Muy bien explicado el contenido, eres muy bueno transmitiendo conocimiento, te lo agradezco, me llevo más claro estos conceptos de Asynchronous programing.

anyx
Автор

Great content, was looking for an example heavy course on multithreading and this worked wonders.

BaishaliGhosh
Автор

Thanks Frank, this is great content, explained perfectly with concise examples. It's been a great help to me.

nickeax
Автор

You are awesome 🔥. looking forward to more intermediate to advanced content from you 😆 Are you planning any upcoming courses? 😆

thanhduyphan
Автор

Thx you for all your content,
I will read that asap

padnom
Автор

why there is a need of readlock? It is not changing the state of counter.

deeptisingh
join shbcf.ru