Author
Released
5/20/2020Skill Level Advanced
Duration
Views
- [Walt] The standard .NET collection types ae not thread-safe, which can lead to race conditions, data corruption, and unexpected exceptions in modern multi-threaded applications. This course examines how to work with the thread-safe concurrent collections to share data across threads and build scalable applications. By default, the concurrent collections use a smart, efficient locking mechanism to ensure reading and writing data is not compromised. Many of the types in this library will be familiar to you as they have counterparts in the system.collection.generic namespace. Hi there, I'm Walt Ritscher. I love exploring all the corners of .NET and discovering new libraries and APIs. Concurrent collections are one of my favorite finds. I'm delighted to explore them with you.
Related Courses
-
Advanced Threading in C#
with Chander Dhall2h 8m Intermediate
-
Introduction
-
What you should know1m 10s
-
1. Defining the Problem
-
Collections and threads2m 26s
-
Use Queue with single thread3m 53s
-
-
2. Deconstruct the .NET Queue Class
-
3. Using Thread-Safe Code with Standard Collections
-
4. Overview of Thread-Safe Collections
-
Categories of collections4m 37s
-
5. Work with the ConcurrentDictionary Class
-
Create a dictionary5m 40s
-
-
6. Updating Data in ConcurrentDictionary
-
Use the AddOrUpdate method4m 16s
-
7. Work with the Producer-Consumer Collections
-
Work with ConcurrentQueue2m 52s
-
Work with the ConcurrentBag5m 17s
-
8. Using the BlockingCollection
-
Continuing Your Journey
-
Next steps1m 16s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Thread-safe data with concurrent collections