Concurrency in C# Cookbook by Stephen Cleary

Concurrency in C# Cookbook

Asynchronous, Parallel, and Multithreaded Programming

Stephen Cleary

O'Reilly Media · Print & ebook · October 1, 2019

If you’re one of many developers still uncertain about concurrent and multithreaded development, this practical cookbook will change your mind.

Buy on Amazon

We earn from qualifying purchases.

Who it’s for
Ready-to-use recipes make the tricky work of asynchronous and parallel C# programming more approachable.
Themes
Concurrent programming, Asynchronous programming, Parallel processing
Genres
C# Programming, Parallel Programming, ASP.NET Development

About this book

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.

Continue reading

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 programming - Use async and await for asynchronous operations - Enhance your code with asynchronous streams - Explore parallel programming with .NET’s Task Parallel Library - Create dataflow pipelines with .NET’s TPL Dataflow library - Understand the capabilities that System.Reactive builds on top of LINQ - Utilize threadsafe and immutable collections - Learn how to conduct unit testing with concurrent code - Make the thread pool work for you - Enable clean, cooperative cancellation - Examine scenarios for combining concurrent approaches - Dive into asynchronous-friendly object-oriented programming - Recognize and write adapters for code using older asynchronous styles

Concurrency, Made Practical

Ready-to-use recipes make the tricky work of asynchronous and parallel C# programming more approachable.

Come here for

  • Hands-on solutions across async, parallel, and multithreaded programming
  • Code examples paired with explanations of how and why they work

Expect

  • Coverage of .NET tools, from async streams to the Task Parallel Library
  • Practical attention to testing, cancellation, and older asynchronous styles

Where it sits

C# Programming60%
Parallel Programming60%
ASP.NET Development48%

Percentages are BookFrontier’s reading of the book.

Publisher categories

  • Object-Oriented Programming
  • Parallel Programming
  • C# Programming
  • Windows Programming
Authors
Stephen Cleary
Publisher
O'Reilly Media
Published
October 1, 2019
Format
Print & ebook
Theme
Concurrent programming · Asynchronous programming · Parallel processing
Reading lane
Object-Oriented Programming