Master Multithreading & Asynchronous Programming In C#/ Net


Master Multithreading & Asynchronous Programming In C#/ Net
Master Multithreading & Asynchronous Programming In C#/.Net
Published 9/2024
MP4 | Video: h264, 1920×1080 | Audio: AAC, 44.1 KHz

Multithreading, task based asynchronous programming, async/await, thread synchronization, P-Loops, PLINQ in .NET 8

What you’ll learn

How threads run within the OS

Threads synchronization techniqueues

Thread safety

Thread affinity

Thread pool

Exception handling and cancellation

Task vs Thread

Running tasks

Waiting for tasks

Task continuations

Exception and cancelation handlings

async & await basics

How async and await works under the hood

Harness the power of parallel loops

Stop, break and throw exceptions from parallel loops

Understand the states of the running results

Performance considerations of parallel loops

Harness the power of PLINQ (parallel LINQ)

Understand the usage of concurrent collecitons

Requirements

Intermediate level in C# and .NET

Visual Studio 2022 or later installed

A strong desire to learn

Description

Overview

Section 1: Introduction

Lecture 1 Introduction

Lecture 2 CPU, Thread and Thread Scheduler

Lecture 4 Why threading: Divide and Conquer

Lecture 5 Why threading: Offload long running tasks

Lecture 6 Assignment 1: Web Server Simulation
Lecture 7 Assignment 1 (Answer): Create a Web Server

Section 2: Threads Synchronization

Lecture 8 Threads Synchronization Overview

Lecture 9 Critical Section and Atomic Operation

Lecture 10 Exclusive Lock

Lecture 11 Assignment 2: Airplane seats booking system

Lecture 12 Assignment 2 (Answer): – Airplane seats booking system

Lecture 13 Use Monitor to add timeout for locks

Lecture 14 Use Mutex to synchronize across processes

Lecture 15 Reader and Writer Lock

Lecture 16 Use semaphore to limit number of threads

Lecture 17 Use AutoResetEvent for signaling

Lecture 18 Use ManualResetEvent to release multiple threads

Lecture 19 Assignment 3 – Two way signaling in Producer – Consumer scenario

Lecture 20 Assignment 3 (Answer): Two way signaling in Producer – Consumer scenario

Lecture 21 Thread Affinity

Lecture 22 Thread Safety

Lecture 23 Nested locks and deadlock

Section 3: Multithreading MISC

Lecture 24 Debug programs with multiple threads

Lecture 25 States of a thread

Lecture 26 Make thread wait for some time

Lecture 27 Returning results from a thread

Lecture 28 Canceling a thread

Lecture 29 Thread Pool

Lecture 30 Exception handling in threads

Section 4: Task based Asynchronous Programming

Lecture 31 Multithreading vs Asynchronous Programming

Lecture 32 Basic Syntax of using Task

Lecture 33 Task vs Thread

Lecture 34 Task uses thread pool by default

Lecture 35 Returning result from Task

Lecture 36 Assignment 4 (Question) – Returning results from Task

Lecture 37 Assignment 4 (Answer) – Returning results from Task

Lecture 38 Task Continuation – Wait, WaitAll, Result

Lecture 39 Task Continuation ContinueWith

Lecture 40 Task Continuation WhenAll, WhenAny

Lecture 41 Task Continuation – Continuation Chain & Unwrap

Lecture 42 Exception Handling in Tasks

Lecture 43 Tasks synchronization

Lecture 44 Task Cancelation

Section 5: Async & Await

Lecture 45 Overview of Async & Await

Lecture 46 Basic syntax of Async and Await

Lecture 47 Which thread is used

Lecture 48 Continuation after returning value

Lecture 49 Exception handling with async and await

Lecture 50 Await and Synchronization context

Lecture 51 What does await do

Section 6: Parallel Loops

Lecture 52 Parallel Loops Overview and Basic Syntax

Lecture 53 What happens behind the scene

Lecture 54 Exception handling in parallel loops

Lecture 55 Stop

Lecture 56 Break

Lecture 57 ParallelLoopResult

Lecture 58 Cancelation in Parallel Loops

Lecture 59 Thread local storage

Lecture 60 Performance considerations

Section 7: PLINQ

Lecture 61 Basics of PLINQ

Lecture 62 Producer, consumer and buffer

Lecture 63 foreach vs ForAll

Lecture 64 Exception handling in PLINQ

Lecture 65 Cancelation in PLINQ

Section 8: Concurrent Collections

Lecture 66 ConcurrentQueue

Lecture 67 ConcurrentStack

Lecture 68 BlockingCollection and Producer & Consumer scenario

Section 9: BONUS SECTION

Lecture 69 Bonus Lecture

Intermediate and experienced .NET / C# developers who are looking to enhance their skills in multithreading and asynchronous programming.,Students who are pursuing a degree in computer science or a related field.,Professionals who are working in industries where efficient and responsive applications are crucial.,Hobbyists who are interested in expanding their programming knowledge and tackling more complex projects.

Importantissimo!

Per NON SBAGLIARE link e finire su qualche possibile clone, approfittare di offerte esclusive personalizzate per il nostro sito, e se gradisce questo articolo ed il nostro lavoro, la preghiamo di supportarci rinnovando o sottoscrivendo un Account Premium su FILESTORE cliccando sul link qui sotto:

FileStore

Share This Post!

Torna in cima