Multithreading in C# 5.0 Cookbook (Paperback)
Eugene Agafonov
- 出版商: Packt Publishing
- 出版日期: 2013-05-24
- 定價: $1,650
- 售價: 6.0 折 $990
- 語言: 英文
- 頁數: 268
- 裝訂: Paperback
- ISBN: 1849697647
- ISBN-13: 9781849697644
-
相關分類:
C#
立即出貨(限量) (庫存=1)
買這商品的人也買了...
-
$680$537 -
$780$663 -
$780$663 -
$880$695 -
$580$493 -
$940$700 -
$650$514 -
$980$774 -
$780$663 -
$580$493 -
$680$578 -
$580$493 -
$400$380 -
$880$748 -
$380$342 -
$620$490 -
$520$406 -
$360$324 -
$360$252 -
$780$616 -
$260$234 -
$450$356 -
$260$234 -
$550$468 -
$380$300
相關主題
商品描述
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.
商品描述(中文翻譯)
超過70個食譜,幫助您快速高效地學習使用C# 5.0進行異步和並行編程。
概述:
- 深入研究.NET線程基礎架構,使用Task Parallel Library進行異步編程。
- 有效地擴展您的服務器應用程序。
- 掌握C# 5.0異步操作語言支持。
詳細內容:
在計算機處理器不斷發展為包含越來越多核心的時代,多線程是創建可擴展、高效和響應的應用程序的關鍵因素。如果您無法正確地進行多線程編程,可能會導致令人困惑的問題,需要花費大量時間來解決。因此,對多線程有扎實的理解對於現代應用程序開發人員來說是必不可少的。
《C# 5.0多線程食譜》是一本易於理解的指南,針對最令人困惑的編程問題提供了實用的示例。本書將引導您通過實際示例,深入研究C#在Windows上的多線程各個方面,並為您提供一個良好的實踐知識基礎,您可以使用這些知識來編寫自己的可擴展和可靠的多線程應用程序。
本書將引導您從基礎示例開始,學習什麼是線程,然後根據從前面示例中獲得的信息學習新的概念。
在描述了線程的基礎知識之後,您將能夠掌握更高級的概念,如Task Parallel Library和C#異步函數。然後,我們轉向並行編程,從基本數據結構開始,逐步進展到更高級的模式。本書最後討論了Windows 8應用程序編程的具體細節,讓您完全了解Windows 8應用程序的不同之處,以及如何為Windows 8編寫異步應用程序。
本書將教您:
- 使用原始線程,同步線程並協調它們的工作。
- 使用Task Parallel Library開發自己的異步API。
- 使用C# 5.0異步語言功能。
- 使用I/O線程擴展您的服務器應用程序。
- 使用PLINQ並行化您的LINQ查詢。
- 使用常見的並發集合。
- 應用不同的並行編程模式。
- 使用Windows 8異步API。
- 使用反應式擴展運行異步操作並管理其選項。
這本書是一本易於理解的指南,充滿了實際的多線程任務的實例。每個主題都有解釋並放在上下文中,對於更好奇的讀者,還提供了更深入的概念細節。
本書適合開發人員或新手多線程編程者,並且希望快速且輕鬆地入門。假設您已經具有一些C#和.NET的經驗,並且您應該熟悉計算機科學和基本的算法和數據結構。