• Complain

Eugene Agafonov - Multithreading in C# 5.0 Cookbook

Here you can read online Eugene Agafonov - Multithreading in C# 5.0 Cookbook full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2013, publisher: Packt Publishing, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Eugene Agafonov Multithreading in C# 5.0 Cookbook
  • Book:
    Multithreading in C# 5.0 Cookbook
  • Author:
  • Publisher:
    Packt Publishing
  • Genre:
  • Year:
    2013
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Multithreading in C# 5.0 Cookbook: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Multithreading in C# 5.0 Cookbook" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Over 70 recipes to help you learn asynchronous and parallel programming with C# 5.0 quickly and efficiently

Overview

  • Delve deep into the .NET threading infrastructure and use Task Parallel Library for asynchronous programming
  • Scale out your server applications effectively
  • Master C# 5.0 asynchronous operations language support

In Detail

In an age when computer processors are being developed to contain more and more cores, multithreading is a key factor for creating scalable, effective, and responsive applications. If you fail to do it correctly, it can lead to puzzling problems that take a huge amount of time to resolve. Therefore, having a solid understanding of multithreading is a must for the modern application developer.

Multithreading in C# 5.0 Cookbook is an easy-to-understand guide to the most puzzling programming problems. This book will guide you through practical examples dedicated to various aspects of multithreading in C# on Windows and will give you a good basis of practical knowledge which you can then use to program your own scalable and reliable multithreaded applications.

This book guides you through asynchronous and parallel programming from basic examples to practical, real-world solutions to complex problems. You will start from the very beginning, learning what a thread is, and then proceed to learn new concepts based on the information you get from the previous examples.

After describing the basics of threading, you will be able to grasp more advanced concepts like Task Parallel Library and C# asynchronous functions. Then, we move towards parallel programming, starting with basic data structures and gradually progressing to the more advanced patterns. The book concludes with a discussion of the specifics of Windows 8 application programming, giving you a complete understanding of how Windows 8 applications are different and how to program asynchronous applications for Windows 8.

What you will learn from this book

  • Work with raw threads, synchronize threads, and coordinate their work
  • Develop your own asynchronous API with Task Parallel Library
  • Use C# 5.0 asynchronous language features
  • Scale up your server application with I/O threads
  • Parallelize your LINQ queries with PLINQ
  • Use common concurrent collections
  • Apply different parallel programming patterns
  • Work with Windows 8 asynchronous APIs
  • Use Reactive Extensions to run asynchronous operations and manage their options

Approach

This book is an easy-to-follow guide full of hands-on examples of real-world multithreading tasks. Each topic is explained and placed in context, and for the more inquisitive readers, there are also more in-depth details of the concepts used.

Who this book is written for

If you are a developer or new to multithreaded programming and you are looking for a quick and easy way to get started, then this book is for you. It is assumed that you have some experience in C# and .NET already, and you should also be familiar with computer science and basic algorithms and data structure.

Eugene Agafonov: author's other books


Who wrote Multithreading in C# 5.0 Cookbook? Find out the surname, the name of the author of the book and a list of all author's works by series.

Multithreading in C# 5.0 Cookbook — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Multithreading in C# 5.0 Cookbook" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Multithreading in C# 5.0 Cookbook

Multithreading in C# 5.0 Cookbook

Copyright 2013 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: November 2013

Production Reference: 1191113

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-84969-764-4

www.packtpub.com

Cover Image by Aniket Sawant (<>)

Credits

Author

Eugene Agafonov

Reviewers

Mickael Ferrer

Chad McCallum

Philip Pierce

Acquisition Editor

James Jones

Lead Technical Editor

Chalini Snega Victor

Technical Editors

Menza Mathew

Pooja Nair

Copy Editors

Brandt D'Mello

Mradula Hegde

Gladson Monteiro

Sayanee Mukherjee

Aditya Nair

Karuna Narayanan

Kirti Pai

Laxmi Subramanian

Project Coordinator

Apeksha Chitnis

Proofreader

Clyde Jenkins

Indexer

Marriammal Chettiyar

Production Coordinator

Pooja Chiplunkar

Cover Work

Pooja Chiplunkar

About the Author

Eugene Agafonov leads a web development department at ABBYY, and lives and works in Moscow. He has over 15 years of professional experience in software development and started to work with C# from the time it was in its beta version. He is a Microsoft MVP in ASP.NET since 2006, and he often speaks at local software development conferences, such as TechEd Russia, about cutting-edge technologies in the Modern Web and server-side application development. His main professional interests are cloud-based software architecture, scalability, and reliability. Eugene is a huge fan of football and plays the guitar with a local rock band. You can reach him at his personal blog eugeneagafonov.com or with his twitter handle @eugene_agafonov.

About the Reviewers

Mickael Ferrer is a geek who has played with a lot of technologies through the years; He is the jack of all trades, but master of none.He specialized in .Net and C# development, in particular, for extending Excel.He spent much of his short professional career in the financial industry as a front-office developer.He recently started a self-employed training business for .Net developers.He randomly writes stuff on his technical blog at pragmateek.com

Chad McCallum is a Saskatchewan computer geek and an ASP.NET MVP with over seven years of .NET experience. After graduating from the Computer Systems Technology course at SIAST in Saskatoon, he picked up contracting until he could pester iQmetrix to give him a job, where he's been for the last seven years. He had a brief stint in Vancouver, working on interactive retail software. Since then, he's come back to Regina, SK, where he's started HackREGINA, a hackathon organization aimed at strengthening the developer community while coding and drinking beer. Somehow, between his real-life job and sleep, he managed to publish a Pluralsight course on 10 Ways to Build Web Services in .NET. His current focus is on single-page applications with JavaScript. Between random app ideas, he tries to learn a new technology every week; you can see the results on www.rtigger.com.

Philip Pierce is a software developer with twenty years of experience in mobile, web, desktop, and server development, database design and management, and game development. His background includes creating A.I. for games and business software, converting AAA games among various platforms, developing multithreaded applications, and creating patented client/server communication technologies.

Philip has won several hackathons, including Best Mobile App at the AT&T Developer Summit 2013, and a runner up for Best Windows 8 App at PayPal's Battlethon Miami. His most recent project was converting Rail Rush and Temple Run 2 from the Android platform to Arcade platforms.

Philip's portfolios can be found at http://www.rocketgamesmobile.com and http://www.philippiercedeveloper.com.

www.PacktPub.com
Support files, eBooks, discount offers and more

You might want to visit www.PacktPub.com for support files and downloads related to your book.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at > for more details.

At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

httpPacktLibPacktPubcom Do you need instant solutions to your IT - photo 1

http://PacktLib.PacktPub.com

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.

Why Subscribe?
  • Fully searchable across every book published by Packt
  • Copy and paste, print and bookmark content
  • On demand and accessible via web browser
Free Access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.

To my dearly beloved wife Helen and son Nikita

Preface

Not so long ago, a typical personal computer CPU had only one computing core, and the power consumption was enough to cook fried eggs on it. In 2005, Intel introduced its first multiple-core CPU, and since then computers started developing in a different direction. Low power consumption and a number of computing cores became more important than a row computing core performance. This lead to programming paradigm changes as well. Now we need to learn how to use all CPU cores effectively to achieve the best performance, and at the same time, save battery power by running only the programs we need at a particular time. Besides that, we need to program server applications in a way to use multiple CPU cores or even multiple computers as efficiently as possible to support as many users as we can.

To be able to create such applications, you have to learn to use multiple CPU cores in your programs effectively. If you use the Microsoft .NET development platform and C# programming language, this book will be a perfect starting point for programming applications that have good performance and responsiveness.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Multithreading in C# 5.0 Cookbook»

Look at similar books to Multithreading in C# 5.0 Cookbook. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Multithreading in C# 5.0 Cookbook»

Discussion, reviews of the book Multithreading in C# 5.0 Cookbook and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.