Concurrency in C# Cookbook
Asynchronous, Parallel, and Multithreaded Programming
Publisher: O'Reilly Media
Final Release Date: May 2014
Pages: 208

If you're one of the many developers uncertain about concurrent and multithreaded development, this practical cookbook will change your mind. With more than 75 code-rich recipes, author Stephen Cleary demonstrates parallel processing and asynchronous programming techniques, using libraries and language features in .NET 4.5 and C# 5.0.

Concurrency is becoming more common in responsive and scalable application development, but it’s been 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 the solution works, you get recipes for using:

  • async and await for asynchronous operations
  • Parallel programming with the Task Parallel Library
  • The TPL Dataflow library for creating dataflow pipelines
  • Capabilities that Reactive Extensions build on top of LINQ
  • Unit testing with concurrent code
  • Interop scenarios for combining concurrent approaches
  • Immutable, threadsafe, and producer/consumer collections
  • Cancellation support in your concurrent code
  • Asynchronous-friendly Object-Oriented Programming
  • Thread synchronization for accessing data
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyConcurrency in C# Cookbook
 
4.7

(based on 6 reviews)

Ratings Distribution

  • 5 Stars

     

    (4)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Concise (5)
  • Helpful examples (5)
  • Accurate (4)
  • Easy to understand (4)
  • Well-written (4)

Cons

No Cons

Best Uses

  • Intermediate (3)
    • Reviewer Profile:
    • Developer (5)

Reviewed by 6 customers

Displaying reviews 1-6

Back to top

 
4.0

Amazing step through modern concurrency

By X0R_

from Canada

About Me Developer

Verified Buyer

Pros

  • Concise
  • Easy to understand
  • Helpful examples

Cons

    Best Uses

      Comments about oreilly Concurrency in C# Cookbook:

      This book really helps you to get a sens of the modern concurrency approach.

      This is a cookbook so there is a lot of recipes that not only help you to start doing modern concurrency design but also give you the foundation of how-to properly handle cases.

      (0 of 2 customers found this review helpful)

       
      4.0

      Very good book.

      By Martin

      from Drummondville

      Verified Buyer

      Comments about oreilly Concurrency in C# Cookbook:

      Still reading the book. But so far I like it. The book cover techniques not found in other books.

       
      5.0

      The best path to master concurrency

      By Bruno

      from Paris France

      About Me Developer

      Verified Buyer

      Pros

      • Accurate
      • Concise
      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Intermediate

        Comments about oreilly Concurrency in C# Cookbook:

        Very helpful if you need master the concurrency in C# 5.0. You will discover all Microsoft technologies about asynchrony and concurrency. But, the most important are the accurate tips relate each technology. You will gain a lot of skills that you might apply immediately in the real life.

        (1 of 1 customers found this review helpful)

         
        5.0

        Read it, it's worth it

        By Concurrent M.

        from Switzerland

        About Me Developer

        Verified Buyer

        Pros

        • Accurate
        • Concise
        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Expert
          • Intermediate

          Comments about oreilly Concurrency in C# Cookbook:

          I've read the book from start to end. While I was familiar with some of the content, others were new. Now I'm using it as a handbook to look up how to address solutions.

          Note however, that it's a collection of various small cookboks, and the introduction on concurrency is very short. You might need another book to cover the basics.

          (1 of 1 customers found this review helpful)

           
          5.0

          A must-read for beginners and experts

          By Noseratio

          from Adelaide, Australia

          About Me Developer

          Verified Buyer

          Pros

          • Accurate
          • Concise
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

              Comments about oreilly Concurrency in C# Cookbook:

              I wish this book was available when I just started embracing Microsoft's Task Parallel Library and C# 5.0 async/await about a year ago. Now, a year later, I still enjoy reading it, as much as I do reading Stephen Cleary's blog and his authoritative answers on Stack Overflow.

              (3 of 3 customers found this review helpful)

               
              5.0

              A 'must have' in your library

              By Romasz

              from Poland

              About Me Developer

              Verified Reviewer

              Pros

              • Accurate
              • Concise
              • Easy to understand
              • Helpful examples
              • Well-written

              Cons

                Best Uses

                • Expert
                • Intermediate
                • Novice
                • Student

                Comments about oreilly Concurrency in C# Cookbook:

                Organizatin of the book makes it easy to understand, even for a person who starts with concurrency.
                Book also describes (in simple words) solutions to many problems, which you can encounter while dealing with concurrency in C#. Apart from many useful examples it also contains many useful references.

                Displaying reviews 1-6

                Back to top

                 
                Buy 2 Get 1 Free Free Shipping Guarantee
                Buying Options
                Immediate Access - Go Digital what's this?
                Ebook:  $33.99
                Formats:  DAISY, ePub, Mobi, PDF
                Print & Ebook:  $43.99
                Print:  $39.99