Concurrency in C# Cookbook: Asynchronous, Parallel, and Multithreaded Programming, 1st Edition

Concurrency in C# Cookbook: Asynchronous, Parallel, and Multithreaded Programming, 1st Edition

AUTHOR: Stephen Cleary

PUBLISHER: O'Reilly Media

PAGES: 208

ISBN-10: 1449367569; ISBN-13: 978-1449367565

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

From the Author
I had one major goal in writing this book: to cover modern approaches to concurrency. There are a hundred books out there that describe threads and all the various synchronization primitives in excruciating detail; this is not one of those. This book focuses specifically on how code should be written, not how code could be written.

This book does contain an introduction to concurrency (multithreading, asynchronous programming, etc). However, it is not an introduction to C# or .NET. I do expect my readers to understand delegates, lambda expressions, LINQ, OOP, etc. If you need help in these areas, there are other great books that cover these topics far better than I could do.

By focusing only on modern coding practices, and by avoiding "fluff", I've kept the book short. It's under 200 pages, a portable size. The vast majority of these pages are recipes written with an extremely practical mindset, so they can be used as a ready reference for the modern developer.

Book Category

Android Developer / Asp.Net / Asp.Net MVC / Blockchain / C# / C++ / Computer Science / Database / Game Developer / Java / JavaScript / jQuery / Linux / Maven / MS Sql / MySQL / Networking / Oracle / PHP / Python / Spring / VB.Net / Visual Studio / Web Developer

HRMS & Payroll Web Application

Timekeeping System and Timesheet Processing

Paper timesheets daily time record is to track when employees start and end their work hours a day, but today's technologies used biometric finger scanner or other digital device to record daily time attendance In/Out. read more »

HRMS Employee Shift Schedule

Fixed shift schedule in every employee from Monday to Sunday is required during the processing of timesheet to get man-hour distribution report. This module designed a flexible shift because rest day work can occur in any days, just example of working in Shopping Mall that operates 7 days a week. read more »

HRMS Employee Online Account

Employee can check their available vacation leave, sick leave, pay slip or ability to work at home. Filing of overtime work, request temporary shift schedule and leave benefits is a convenient way using a paperless online form. read more »

Employee Self-Service Online Filing Form

Delegate work to your employees and get more productive right away with a smart self-service dashboard user account for every employee. Modern HR management tools can help you remove the daily routine task that the system can handle it automatically and easy. read more »

Broken Time Schedule Data Entry and Approval Form

Broken time schedule is not suitable on automating work distribution need module data entry to handle the accurate computation that system get the computed hours during the timesheet processing. The logic of computation is time difference for every time in/out entry that excess of regular 8 hours is overtime work. The approver decide if the overtime work is required to deduct 1 hour OT hour lunch break or OTND lunch break before it approve. read more »