Coder Social home page Coder Social logo

aaghababyan01 / concurrent-collections-2824383 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linkedinlearning/concurrent-collections-2824383

0.0 0.0 0.0 74 KB

Advanced C#: Thread-Safe Data with Concurrent Collections

License: Other

C# 100.00%

concurrent-collections-2824383's Introduction

Advanced C#: Thread-Safe Data with Concurrent Collections

This is the repository for the LinkedIn Learning course Advanced C#: Thread-Safe Data with Concurrent Collections. The full course is available from LinkedIn Learning.

.NET Essentials

.NET is a mature programming framework used around the world to build applications for every type of project. Our .NET Essentials courses dig deep into a sub-section of .NET, given you a long look at one segment of this ubiquitous framework.

This course topic

A "thread-safe" class is one whose members are protected from situations in which one thread interrupts another thread. The standard .NET collection types are not thread safe, which can lead to a slew of problems, including race conditions, data corruption, and unexpected exceptions in modern multithreaded applications. In this course, instructor Walt Ritscher demonstrates how to work with the thread-safe concurrent collections to share data across threads and build more scalable applications. Using practical examples, Walt outlines the problems you can face when working in multithreaded applications and explains why concurrent collections are great at handling multiple threads. He explores how to work with the ConcurrentDictionary class, including how to update data in ConcurrentDictionary. Plus, learn about the producer-consumer pattern and how it relates to concurrent collections types, how to use BlockingCollection—a thread-safe collection class—and more.

Instructions

This repository has branches for each of the videos in the course. You can use the branch pop up menu in github to switch to a specific branch and take a look at the course at that stage, or you can add /tree/BRANCH_NAME to the URL to go to the branch you want to access.

Branches

The branches are structured to correspond to the videos in the course. The naming convention is chapter#-video#. As an example, the branch named 02-03 corresponds to the second chapter and the third video in that chapter. Some branches will have a beginning state (04-01) and an end state (04-01e). The end state videos use e for "end" and contains the code as it is at the end of the video. The master branch holds the the initial state of the course and is not used for exercises during the course.

Installing

To use these exercise files, follow the instructions in the course to learn how to work with GitHub content. For this course the instructor uses Visual Studio 2019 but older versions are acceptable, any edition is sufficient (Community, Professional, Enterprise).

Advanced C#: Thread-Safe Data with Concurrent Collections

About our .NET courses

When you are ready to learn more about .NET or Visual Studio, LinkedIn Learning has what you need.

About the Instructor - Walt Ritscher

Check out my other courses on LinkedIn Learning. Follow me on LinkedIn and Twitter.

concurrent-collections-2824383's People

Contributors

siodice avatar waltritscher avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.