查询
最新公告

用C#和.NET进行并行编程。NET:快速应用程序背后的并发和异步基础

English | 2025 | ISBN: 9798868804878 | 425 pages | PDF | 5.99 MB

If you need to understand concurrency, this book is your guide to the fundamentals behind the advanced software you seek to implement to achieve highly responsive and scalable code. Support for parallel computation is an essential part of concurrency. Concurrency is an advanced concept and solutions are not straightforward. Many developers have been burned by it and are still being burned by it. This book aims to simplify the concept for C# developers. It tries to simplify the concept using the Task Parallel Library (TPL), Concurrent Collections, Parallel LINQ (PLINQ), Asynchronous Programming Patterns, and related topics.

The book starts with an overview of TPL and discusses Tasks. Understanding these areas is necessary to learn the concepts that follow in the book. You will go through special scenarios, such as handling exceptions and cancellations, followed by demonstrations of synchronization techniques and concurrent collections. You will see demonstrations of parallel loops to speed up the computations. And you'll understand PLINQ in detail. Asynchronous programming with async and await keywords is discussed.

The book contains “Q&A sessions”, review questions, and exercises (in .NET 8 and C#12). After reading the book, you will be able to understand advanced concepts in parallel programming and implement them in your code.

What You Will Learn

Understand concurrent and multi-threaded development Understand how some modern-day C# features can promote parallel programming Demonstrate the latest patterns for parallel development

Who This Book Is For

Developers familiar with C# but are absolute beginners for parallel programming.

中文|2025 |ISBN:9798868804878|425页|PDF|5.99 MB如果你需要了解并发性,这本书是你寻求实现高度响应和可扩展代码的高级软件背后的基础指南。支持并行计算是并发的重要组成部分。并发是一个高级概念,解决方案并不简单。许多开发人员已经被它烧伤,并且仍在被它烧伤。这本书旨在简化C#开发人员的概念。它试图使用任务并行库(TPL)、并发集合、并行LINQ(PLINQ)、异步编程模式和相关主题来简化概念。 本书首先概述了第三方物流,并讨论了任务。了解这些领域对于学习本书中的概念是必要的。您将经历特殊场景,例如处理异常和取消,然后演示同步技术和并发收集。您将看到并行循环的演示,以加快计算速度。您将深入了解PLINQ。讨论了使用async和wait关键字的异步编程。 这本书包含“问答环节”、复习问题和练习(在.NET 8和C#12中)。阅读本书后,您将能够理解并行编程中的高级概念,并在代码中实现它们。 你将学到什么 了解并发和多线程开发了解一些现代C#特性如何促进并行编程演示并行开发的最新模式 这本书是写给谁的 熟悉C#但绝对是并行编程的初学者的开发人员。
Download from free file storage


本站不对文件进行储存,仅提供文件链接,请自行下载,本站不对文件内容负责,请自行判断文件是否安全,如发现文件有侵权行为,请联系管理员删除。