Introduction to Concurrency in C# - Async and Parallelism

所在平台: Udemy

课程主页: https://www.udemy.com/course/introduction-to-concurrency-in-c-async-and-paralellism/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:C# 中的并发概论 - 异步与并行 课程概述:在本课程中,您将学习如何在 C# 中使用异步编程和并行处理。我们将探讨并发的模式与反模式,即我们应该如何操作,同时也会了解不该做的事情。通过异步编程,我们可以实现:同时运行一组 I/O 任务、保持应用程序用户界面的流畅、防止 ASP.NET 和 ASP.NET Core 应用程序的冻结、取消任务以避免用户等待、实现通用重试逻辑以及创建异步流。通过并行编程,我们能够:加速特定算法的执行、并行处理图像集的转换、使用同步机制避免竞争条件、定义最大并行度、利用线程配置类的实例以及在并行中使用 LINQ。 此外,我们还将学习到:确定性与非确定性、异步编程中的错误处理、使用 Task.WhenAll 等待多个任务的执行、多个任务的进度报告、处理瞬时错误的重试模式、理解和使用 ValueTask,以及异步流的概念。我们还会探讨应用程序死锁的含义。课程内容丰富,适合希望深入了解 C# 并发编程的学习者。

课程评论(0条)

课程详情

In this course you will learn how to use asynchronous programming and parallelism in C #.We will look at both patterns and antipatterns of concurrency. That is, we will see what things we should do, but we will also see what things we should not do.With asynchronous programming we can:Run a set of I / O tasks at the same timePrevent the UI of our applications from freezingScale up our ASP.NET and ASP.NET Core applicationsCancel tasks so that the user does not have to wait for their completionImplement generic retry logicCreate asynchronous streamsWith parallel programming we can:Accelerate the execution of certain algorithmsApply transformations to a set of images in parallelUse synchronization mechanisms to avoid race conditionsDefine the maximum degree of parallelismConfigure instances of a class by threadsUse LINQ in parallelWe'll also see:Determinism vs Non-DeterminismHandling errors in asynchronous programmingUsing Task.WhenAll to wait for the execution of multiple tasksReporting progress of multiples tasksRetry pattern for handling momentaneous errorsUnderstanding and consuming ValueTaskUsing Asynchronous streamsWhat does it mean for an app to be deadlockedWe will learn all of this in this course!

课程标签

0人关注该课程

主题相关的课程