Preview "Concurrency in C# Cookbook (2nd ed.)" in a new window.

Concurrency in C# Cookbook (2nd ed.)

Book Description

If you’re one of many developers still uncertain about concurrent and multithreaded development, this practical cookbook will change your mind. With more than 85 code-rich recipes in this updated second edition, author Stephen Cleary demonstrates parallel processing and asynchronous programming techniques using libraries and language features in .NET and C# 8.0.

Concurrency is now more common in responsive and scalable application development, but it’s still extremely difficult to code. The detailed solutions in this cookbook show you how modern tools raise the level of abstraction, making concurrency much easier than before. Complete with ready-to-use code and discussions about how and why solutions work, these recipes help you:

Get up to speed on concurrency and async and parallel programmingUse async and await for asynchronous operationsEnhance your code with asynchronous streamsExplore parallel programming with .NET’s Task Parallel LibraryCreate dataflow pipelines with .NET’s TPL Dataflow libraryUnderstand the capabilities that System.Reactive builds on top of LINQUtilize threadsafe and immutable collectionsLearn how to conduct unit testing with concurrent codeMake the thread pool work for youEnable clean, cooperative cancellationExamine scenarios for combining concurrent approachesDive into asynchronous-friendly object-oriented programmingRecognize and write adapters for code using older asynchronous styles


In The Press


About the Author


Read on Your Favourite Devices

to find out more



Ebook Permissions

to find out more

About this Ebook

File formats
This ebook is available in:
The publisher has not yet supplied format information.
Pre-order formats shown are based on publisher intent and may change before release.
File sizes shown are an approximation. The actual download size will vary based on the application you use to read the book.
Publisher
Published
; Copyright:
ISBNs
Title
Series
Author
;
Edition
Imprint
Language
Number of Pages
Page count shown is an approximation provided by the publisher. The actual page count will vary based on various factors such as your device's screen size and font-size.