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

How to process employee loans and automate in payroll deduction

Companies provide employee's loans for SSS and Pagibig member, Bank loan, Company salary loan or cash advance etc. Pinoy Web Application create a flexible loan data entry module that can connect to payroll process to deduct the total amount due for every pay period that set automatic to their salary, until they reach the total loan amount or zero balance. read more »

Online HRMS & Payroll System Module Application

List of application module that currently available in Online HRMS & Payroll System to be used by designated user assigned by Web Administrator. read more »

Payroll System Web Application Process Flow

Payroll processing performs many tasks to ensure accurate deduction of tax, loans & mandatory contribution of SSS, Philhealth, Pagibig and others deduction. Pinoy Web Application designed for automation of process to avoid padding of time or eliminate fraud most of all the payroll output in a minutes. read more »

Generate Employee's Annual Income Tax Return (ITR)

Preparation of Annual Income Tax Return for all employee's BIR Form 2316 in manual process are so complicated and can caused a human errors in also take a lot of time to finished. read more »

Generate Timesheet from Daily Time Records (using finger scanner In/Out)

Using DTR Biometric Finger Scanner application system time-in/time-out we create module process to generate Timesheet for every employee. Before generating employee timesheet cut-off date make it sure that all pending approval of leave & overtime covered on that payroll cut-off date that filed by the employee’s should be approved by designated department. The report monitoring status of Leave & Overtime will help you to identify head department with pending approval to prompt them to approve. read more »