Hands-On Parallel Programming with C# 8 and .NET Core 3.0

Hands-On Parallel Programming with C# 8 and .NET Core 3.0

English | MP4 | AVC 1920×1080 | AAC 48KHz 2ch | 1h 26m | 302 MB

Boost your .NET Core development with parallel programming concepts

With the new industry standard of increasing the processing power of machines, the concept of parallel programming was introduced as well. Concurrency has always been considered a difficult task and not many developers are confident at writing concurrent code. This course will put an end to the myth and help you become a pro at writing thread-safe code.

This course—fully comprising the latest C#8 and .NET Core 3.0 updates—will introduce you to the concepts of parallel programming in .NET Core and teach you how to take advantage of the hardware. You’ll implement TPL and PLINQ to take the best advantage of a processor and boost the speed and performance of your .NET Core applications. You’ll also apply parallel programming to your data structures.

By the end of this course, you’ll be able to parallelize your code to increase its efficiency and distribute work across multiple processors.

Learn

  • Apply the core concept of parallel programming in .NET Core
  • Build an application using Microsoft’s library for writing parallel code, Task Parallel Library (TPL)
  • Design parallel execution flows using Parallel LINQ (PLINQ)
  • Secure your parallel code from unexpected exceptions by applying efficient exception handling strategies
  • Create parallel code using data structures that were specifically built for parallel execution optimization
Table of Contents

Introduction to Parallel Programming in .NET Core
1 The Course Overview
2 Introduction to Parallel Programming
3 Parallel versus Async
4 NET Core versus Full .NET Platform

Running Code in Parallel with ‘Task Parallel Library (TPL)’
5 Tasks in .NET Core
6 Task versus Facade
7 Waiting for a Task
8 Returning a Value from a Task
9 Composing Tasks

Exceptions Handling in Parallel Code
10 Handling Exceptions
11 Cancelling a Task
12 Race Condition

Performing Parallel Operations with ‘Parallel LINQ’ (PLINQ)
13 PLINQ and Its Applications
14 Common Scenarios
15 PLINQ Query Performance
16 Identifying Potential Pitfalls

Data Structures for Parallel Programming
17 Purpose and Implementation of Data Structures
18 Concurrent Dictionary
19 Concurrent Queue and Concurrent Stack
20 Concurrent Bag
21 Async Streams in C# 8