What is Asynchronous | Issues with Threads | Issue 1 Expensive to make | Issue 2 Resuming after thread finish | Solution 1 Blocking Wait | Solution 2 Polling Wait | Solution 3 Event Callback | The running and callback threads | What is a Task | Tasks, Async, Await | Synchronous Method | Asynchronous Method | Async Analogy | The Synchronous part in Tasks | Showing the point at which asynchronicity starts | Async Return Types | Returning a Task of T | Comsuming a Task of T Method 1 | Comsuming a Task of T Method 2 | Async Keyword | Consuming Async Methods | What happens during an Async call | Threads during Async calls | The Synchronization Context | ConfigureAwait(false) | Exceptions in Async calls | Async in WPF | Synchronous in UI | Asyncronous in UI | Editing UI after await | Synchronization Context on UI thread | Supporting me
Update a Ui Element from another Thread | Delegate for the Update Method | Instantiate the Thread Start Object | Begin Invoke Method | Update Ui Text Box
Introduction | Seeing multithreading in action | Let´s set up multithreading ourselves using TASK | This is how you can learn everything there is about asynchronous programming | Tools for managing your tasks and threads: Diagnostic, Threads, and parallel stacks | Thanks for watching!
establish a considerable size of the form | set the height of the button at 45 pixels | adjust the height of the submenu panel | customize the buttons | add a 35 pixel padding to the left | set the minimum form | hide the submenu panels | display the submenu | create the click event of each button of the submenu | create the click event of the equalizer button | create regions for each submenu | open a single form inside the container panel | remove the border of the form | associate the form with the container | insert a logo in the center of the form container | prevent the form from flickering when opening | create the function of closing
Introduction | What are we working with? | Creation of Interfaces | This one is for you! | Using Interfaces and polymorphism | Interfaces and dependency Injection | Thanks for watching!
Introduction | Operating System | The Solution | The Thread Scheduler | The Scheduler | Scheduler Illusion | Thread Illusion | Example | Creating a thread | Thread code | SetName | Outro
Introduction to How To Achieve Synchronization In C# While Doing Async Await Multithreaded Programming | The objects we are going to use | How we gonna test and compare Mutex, SemaphoreSlim and ReaderWriterLockSlim | Why use local variable to prevent data race | Sub method that will call writing method with await keyword | Why define long variables to debug application with Interlocked.Increment | Write to file method where we are doing locking and synchnorsization | Method call vs when lock is obtained | Why we need to use Interlocked | Why we are using finally method when working different locking mechanisms | How to test how actually each synchronization method (Mutex, SemaphoreSlim, ReaderWriterLockSlim) works | What happened in the lock acquiring part of the method call | Testing not properly working synchronization method ReaderWriterLockSlim | Testing not properly working synchronization method Mutex | Why Mutex is not the correct choice for synchronization of async await using multi-threaded programming
Introduction | Seeing multithreading in action | Let´s set up multithreading ourselves using TASK | This is how you can learn everything there is about asynchronous programming | Tools for managing your tasks and threads: Diagnostic, Threads, and parallel stacks | Thanks for watching!
Introduction | Operating System | The Solution | The Thread Scheduler | The Scheduler | Scheduler Illusion | Thread Illusion | Example | Creating a thread | Thread code | SetName | Outro
Introduction to How To Achieve Synchronization In C# While Doing Async Await Multithreaded Programming | The objects we are going to use | How we gonna test and compare Mutex, SemaphoreSlim and ReaderWriterLockSlim | Why use local variable to prevent data race | Sub method that will call writing method with await keyword | Why define long variables to debug application with Interlocked.Increment | Write to file method where we are doing locking and synchnorsization | Method call vs when lock is obtained | Why we need to use Interlocked | Why we are using finally method when working different locking mechanisms | How to test how actually each synchronization method (Mutex, SemaphoreSlim, ReaderWriterLockSlim) works | What happened in the lock acquiring part of the method call | Testing not properly working synchronization method ReaderWriterLockSlim | Testing not properly working synchronization method Mutex | Why Mutex is not the correct choice for synchronization of async await using multi-threaded programming
Introduction to C# Threads Tutorial | What is Thread class to Learn C# Threads Tutorial | What is multithreading to learn C# Threads Tutorial | Thread life cycle to C# Thread
Create 3 Multiline TextBoxes | Task Running Indicator | Sorry, the obs window capture mode did not capture the app's window so the window was added during editing...
What Is Thread Safety | Using Asynchronous Programming with Data | Atomic Operation | Thread-Safe Atomic Operations | Interlocked Class | The Monitor Class | Lock Keyword | Concurrent Data Structures
Intro | Demo application walk-through | Explaining the problem: putting instances of different classes (product models) in one list (shopping cart) | Creating an interface | Implementing the interface | List of type Interface | Note about items in the List of type Interface: Accessing a Class member not in the contract | recap: basics of the Interface | Class Inheritance and Interface | Extracting the Interface from a Class | Interface implementing another Interface | Accessing a Class member outside the initial contract (Interface) in the List of type Interface | Power of Interfaces: Adding a new Class to your project, why to use Interfaces
Intro | building a demo console application | crashing the application | "try-catch" and how NOT to use it | continuing with the exception & showing exception information to the user ( ) | more useful information: StackTrace | "try-catch": best place to put it and why | hanging logic demonstration | the "finally" code block and "throw" statement. Passing exception up the stack (to UI) | common misconceptions and mistakes | creating new exception without losing the original StackTrace info | recap | advanced exception handling | summary and tips on value capturing and handling exceptions
Introduction | Review demo app with thread deadlock | See a visual representation of threads in the app | Finding the cause of the deadlock | Show external code and methods (rather than threads) | Save threads view as a graphic | Wrap up
create a simple little program | create a thread array | start the thread | get the priority of a thread | pass arguments to a thread using lambda expressions | use a multi-line lambda
Introduction | What are Threads and Processes? | What is a Program? | What is Parallelism? | What is a Scheduler? | Recap on Threads | Inter-Thread vs. Inter-Process Communication | Thanks for Watching!
Ienumerable Interface | Why Do We Need Collections | Collections | Non-Generic Collections | Get Enumerator Method | Constructor | Create Dog Objects | Create a Dog Shelter | When Is It Recommended To Use the I Enumerable Interface | Getcollection
Is Async Await a Programming Style That Makes Use of Multi-Threading More Efficiently | How Do You Become a C-Sharp Mvp | Asynchronous Programming and Multi-Threading | Multithreading | Multi-Threading | Debugging Async | The Difference between Asynchronous Programming and Synchronous Programming | Difference between Async Await and Promise | Is Concurrency Different from Parallel | Is a Task the Same Thing as a Thread | Async and Await | Async Code | Async Keyword | Io Bound Examples | Can C-Sharp Do Multi-Threading on the Gpu Using Cuda | Async Method | Possible Problems Running an Async Method with Entity Framework | Does Multi-Threading Happen in Processor or Main Memory | Using Async Await and Server Side Code | Async Await Best Practices | Deadlocks | Can Async Processes Utilize the Benefit of Multiple Cores | Force Async Methods To Run Synchronously | Is Task Delay the Same as Thread Sleep | Configural Weight | Configure Await Faq | Cancellation Token | Cancellation Token Source | For Loop | Prime Number Example | Max Degrees of Parallelism | Entity Framework Context
Introduction | Simple server in Golang | Rendering HTML from server | Adding static card to index html | Fetching Pokemon details | Making the card dynamic | Adding form to accept user input | Adding a post endpoint to handle user submission | Using HTMX to render response | Adding a form in response | Final result | Outro
Introduction to Async Await in C | What is Asynchronous Programming in regards to Async Await in C | Need of the Asynchronous Programming in regards to Async Await in C | Keywords Async Await in C | demo on Async Await in C | Synchronous vs Asynchronous Programming in regards to Async Await in C
The Difference between a Thread and a Task | Thread Affinity | Context Switch | Demo Using vs Code and Net Core | Create a Console Library | Threads | Code Snippets | Create a Thread | Task Scheduling | Context Switching | Performance Monitor | Performance Counter | Process Id from Linux | What Is Synchronization Context | Difference between Asynchronous and Parallel | Parallel Processing Parallel and Async | Parallel Processing | Parallel versus Concurrency | Why Do We Use Async and Await in Web Api | Parallel and Async | Synchronization Context | Should I Take Care of Synchronization Context for Web Api