Hot Best Seller

Concurrency in C# Cookbook

Availability: Ready to download

Concurrency is essential for creating fast apps and optimized systems software today. With this cookbook, you will find recipes for writing asynchronous, parallel, and reactive code in C# that enables your app or program to engage in more than one process at a time. Presented in O’Reilly’s popular problem-solution-discussion cookbook format, this guide provides ready-to-us Concurrency is essential for creating fast apps and optimized systems software today. With this cookbook, you will find recipes for writing asynchronous, parallel, and reactive code in C# that enables your app or program to engage in more than one process at a time. Presented in O’Reilly’s popular problem-solution-discussion cookbook format, this guide provides ready-to-use code, along with an explanation of why and how the solution works.


Compare

Concurrency is essential for creating fast apps and optimized systems software today. With this cookbook, you will find recipes for writing asynchronous, parallel, and reactive code in C# that enables your app or program to engage in more than one process at a time. Presented in O’Reilly’s popular problem-solution-discussion cookbook format, this guide provides ready-to-us Concurrency is essential for creating fast apps and optimized systems software today. With this cookbook, you will find recipes for writing asynchronous, parallel, and reactive code in C# that enables your app or program to engage in more than one process at a time. Presented in O’Reilly’s popular problem-solution-discussion cookbook format, this guide provides ready-to-use code, along with an explanation of why and how the solution works.

30 review for Concurrency in C# Cookbook

  1. 5 out of 5

    Moe

    There are quite a few mistakes in the book. There is an errata of this book out there that explains the typos and the compilation errors - so some examples will not work. For someone who has no understanding of the concepts explained (such as Parallel, Async with Task and await, Reactive Extensions) then you would need to complement the material here with other books or video tutorials. Reason being is because the way these concepts are explained was a bit difficult to grasp at first. However, I There are quite a few mistakes in the book. There is an errata of this book out there that explains the typos and the compilation errors - so some examples will not work. For someone who has no understanding of the concepts explained (such as Parallel, Async with Task and await, Reactive Extensions) then you would need to complement the material here with other books or video tutorials. Reason being is because the way these concepts are explained was a bit difficult to grasp at first. However, I did like the examples given and its use cases.

  2. 4 out of 5

    Rene Stein

    Knihu jsem přečetl v "preview" verzi, takže je možné, že papírová kniha bude lepší. Na knihu od Stephena Clearyho jsem se těšil, ale netuším, pro koho je určena. Autor popisuje v samostatných "receptech", které připomínají krátké blogspoty, klíčová slova async a await v C#, TPL, RX Framework i TPL Dataflow. Pochybuju, že ten, kdo o těchto knihovnách moc neví, tak se z krátkých kapitol naučí knihovny používat, nebo alespoň pochopí, proč by se o ně měl zajímat, a pro čtenáře, kteří hledají pokročil Knihu jsem přečetl v "preview" verzi, takže je možné, že papírová kniha bude lepší. Na knihu od Stephena Clearyho jsem se těšil, ale netuším, pro koho je určena. Autor popisuje v samostatných "receptech", které připomínají krátké blogspoty, klíčová slova async a await v C#, TPL, RX Framework i TPL Dataflow. Pochybuju, že ten, kdo o těchto knihovnách moc neví, tak se z krátkých kapitol naučí knihovny používat, nebo alespoň pochopí, proč by se o ně měl zajímat, a pro čtenáře, kteří hledají pokročilá témata, je v knize minimum textu. Lepší je Clearyho blog.

  3. 5 out of 5

    Dmitry

    In Cleary's own blog you will find a lot more interesting details but do not set your hopes too high; this small book gives nothing beyond what you can read in any general book on C#(Nagel, Schildt, Troelsen etc) In Cleary's own blog you will find a lot more interesting details but do not set your hopes too high; this small book gives nothing beyond what you can read in any general book on C#(Nagel, Schildt, Troelsen etc)

  4. 5 out of 5

    Adrian Bercovici

    This is one of the best books i have read so far regarding concurrency. Although i am usually skeptical about reading books for a specific language , Stephen did a tremendous job with this one and i have already adopted a bunch of hia techniques right after reading his book. This book is like a wikipedia for concurrency/parallelism, reactive and asynchronous programming. The author goes to great lengths to display all kinds of nasty scenarios that you could get yourself into when developing complex This is one of the best books i have read so far regarding concurrency. Although i am usually skeptical about reading books for a specific language , Stephen did a tremendous job with this one and i have already adopted a bunch of hia techniques right after reading his book. This book is like a wikipedia for concurrency/parallelism, reactive and asynchronous programming. The author goes to great lengths to display all kinds of nasty scenarios that you could get yourself into when developing complex code and pragmatically offers the most elegant solution(s) from worst to best. The aspect that i loved about the book is that he doesn't focus on the basics of concurrency because as he puts it "there are a plethora of resources out there".He instead focuses on the newest frameworks and libraries (thoroughly tested by the .NET team of course) that will help you get your job done with minimal effort and headaches. He is basically teaching the reader how to write a modern .NET application and how to leverage the goodies of the language. He treats Rx,TPL Dataflow (mind blowing for me) , PLINQ , regular TPL , async-await , concurrent/immutable collections , events , task schedulers , synchronization contexts, cancellations , synchronization primitives and many more. Best .NET book i have read so far and one of the best resources on concurrent programming ! "The moment you write -Thread.StartNew()- your application is gone into legacy code."

  5. 5 out of 5

    Arun Mahendrakar

    The book is written in a "here's a problem, and this is how you can solve it" style. As a result, it has many examples that helps understand the concepts clearly. This also assists with solidifying the basics. The book is written in a "here's a problem, and this is how you can solve it" style. As a result, it has many examples that helps understand the concepts clearly. This also assists with solidifying the basics.

  6. 5 out of 5

    Jaskula

    This book contains a series of recipes around different kind of problems for concurrent and asynchronous programming mostly seen in c#. The author goes deeper into the technical details when needed but the book still remains easy to read. I would recommend it as an additional learning ressource

  7. 5 out of 5

    Nahum Timerman

    Useful as a general review and a reference, but I ran out of steam trying to use all the examples in actual code. Good to go back to when handling a problem that requires a specific solution

  8. 4 out of 5

    Ebsan

    Concise information with a lot of examples. Cleary put relevant information about async programming that was originally hard to find from Microsoft's docs alone. Concise information with a lot of examples. Cleary put relevant information about async programming that was originally hard to find from Microsoft's docs alone.

  9. 4 out of 5

    Gabriel Santos

    It serves as an additional reading. I thought that, being a cookbook, it is rather superficial.

  10. 4 out of 5

    Alex

    After reading this book I was able to write and follow concurrency in C#. I also know the landscape of concurrent of options available. That said I think this book serves better as a quick reference for more experienced developers than a learning resource.

  11. 4 out of 5

    Kevin Garner

    Concurrency in C# Cookbook is a series of recipes, separated into 13 chapters, each beginning with some general discussion regarding the topic at hand. I needed to begin learning concurrency programming for work, and research led me to Stephen's book. While researching code smells surrounding poll-heavy while loops led me to the author's blog. Right away, I got some really good information and saw his book featured there. It's 208 pages of relevant, carefully guided material that has helped me t Concurrency in C# Cookbook is a series of recipes, separated into 13 chapters, each beginning with some general discussion regarding the topic at hand. I needed to begin learning concurrency programming for work, and research led me to Stephen's book. While researching code smells surrounding poll-heavy while loops led me to the author's blog. Right away, I got some really good information and saw his book featured there. It's 208 pages of relevant, carefully guided material that has helped me to put together a plan for paying off some technical debt and dramatically reducing the memory footprint of some software running on our app servers. I highly recommend this book as both an introduction to concurrency programming in C# and also as a desktop reference book on various scenarios that you may encounter while working with concurrent code.

  12. 5 out of 5

    Sebastian Gebski

    Quick, tidy reference of modern (no direct Thread/ThreadPool manipulation) approach to parallel, concurrent & async processing using C#. In a clean & structured form of short cookbook recipes. Doesn't dive deep, but presents you what you should know to start using particular lib / syntax. In my case it was a great refreshment after coming back from functional world (mainly on JVM) + I've finally read up something more about TPL DataFlow - the area I've somehow managed to skip until now. To summar Quick, tidy reference of modern (no direct Thread/ThreadPool manipulation) approach to parallel, concurrent & async processing using C#. In a clean & structured form of short cookbook recipes. Doesn't dive deep, but presents you what you should know to start using particular lib / syntax. In my case it was a great refreshment after coming back from functional world (mainly on JVM) + I've finally read up something more about TPL DataFlow - the area I've somehow managed to skip until now. To summarize: don't expect wonders, but if you just want an overview to actually start coding (there's no other way of learning how to write concurrent programs - reading is NOT ENOUGH), this book ain't a bad pick.

  13. 4 out of 5

    Robson Castilho

    As a "cookbook", this book follows the pattern "problem/solution/discussion" showing how to solve problems related to concurrent code with minimal theory. So if you want to get deeper knowledge about its topics, this is NOT the book for you. If you're working (or about to work) with concurrency, this book may help you with practical tips about async/wait, Parallel, Rx, immutable/thread-safe collections and the like. Even if you're not working with concurrency, it helps as a quick introduction to As a "cookbook", this book follows the pattern "problem/solution/discussion" showing how to solve problems related to concurrent code with minimal theory. So if you want to get deeper knowledge about its topics, this is NOT the book for you. If you're working (or about to work) with concurrency, this book may help you with practical tips about async/wait, Parallel, Rx, immutable/thread-safe collections and the like. Even if you're not working with concurrency, it helps as a quick introduction to the basics of the topic.

  14. 4 out of 5

    Nemantro

    Excellent reference for those who are looking for successful receipes when playing with concurrency in C#. Stephan Cleary is an extraordinary teacher with a huge knowledge on the concurrency subjet, and a remarkable background in developement. There are some parts of the book I didn't read, some others I won't use. The content is clearly presented and detailed. A book to recommend. Excellent reference for those who are looking for successful receipes when playing with concurrency in C#. Stephan Cleary is an extraordinary teacher with a huge knowledge on the concurrency subjet, and a remarkable background in developement. There are some parts of the book I didn't read, some others I won't use. The content is clearly presented and detailed. A book to recommend.

  15. 5 out of 5

    Jakub

    its good to have it on shelf but its not worth it reading it as "normal" book. rather come back to it when you need advice, however prob. stack overflow would be able to help much faster and better. if you do not know anything about used technology and terminology, including frameworks. its good to have it on shelf but its not worth it reading it as "normal" book. rather come back to it when you need advice, however prob. stack overflow would be able to help much faster and better. if you do not know anything about used technology and terminology, including frameworks.

  16. 5 out of 5

    John Nicholson

    This is by a long way the best book out there on multi threading task and other concurrent problems in C#. this is a reference that has been on my desk for a couple of years and help guide quite a few of my team to make better choices and get more out our systems.

  17. 4 out of 5

    Emad

    The book is exactly what it says is: a cookbook. So don't expect detailed explanation of how things work behind the scenes, or too academic explanation. You should expect quick explanation of classes and features and how to use them and when. The book is exactly what it says is: a cookbook. So don't expect detailed explanation of how things work behind the scenes, or too academic explanation. You should expect quick explanation of classes and features and how to use them and when.

  18. 5 out of 5

    Mike Harris

    This book is somewhere between a coding cook book and an applied concept book. It goes into a decent amount of detail around the different approaches to concurrent programming with C#. It is not as in depth as an advance book but you will learn a lot from it despite its low page count.

  19. 5 out of 5

    Vladislav

    Very useful book. Only good useful and actual information about all kind of modern .Net Concurrency, including .Net Core. Useful reciepts. Book will be good for beginners or non experts in concurrency. You don't find any deep diving here. Very useful book. Only good useful and actual information about all kind of modern .Net Concurrency, including .Net Core. Useful reciepts. Book will be good for beginners or non experts in concurrency. You don't find any deep diving here.

  20. 5 out of 5

    Ivan Atanasov

    Everyone who writes async code must read this book!

  21. 5 out of 5

    Vlad Bezden

    Overall it's a very good book. I wish it had more and better examples instead of just excerpts. I also wish it had more theory behind, not just how to solve the issue. Overall it's a very good book. I wish it had more and better examples instead of just excerpts. I also wish it had more theory behind, not just how to solve the issue.

  22. 5 out of 5

    Vzh

    Short recipes, many angles and libraries mentioned.

  23. 5 out of 5

    Lachezar Tsonov

  24. 5 out of 5

    Regimantas Snieška

  25. 4 out of 5

    Diueine Monteiro

  26. 4 out of 5

    Pongsak Srithongnopawong

  27. 4 out of 5

    David Brillon

  28. 4 out of 5

    Nick

  29. 4 out of 5

    Aaron Sulwer

  30. 4 out of 5

    Steward Sinclair

Add a review

Your email address will not be published. Required fields are marked *

Loading...