Pro Asynchronous Programming with .NET (Paperback)

Richard Blewett, Andrew Clymer, Rock Solid Knowledge Ltd

  • 出版商: Apress
  • 出版日期: 2013-12-23
  • 售價: $2,590
  • 貴賓價: 9.5$2,461
  • 語言: 英文
  • 頁數: 352
  • 裝訂: Paperback
  • ISBN: 1430259205
  • ISBN-13: 9781430259206
  • 相關分類: .NET
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Pro Asynchronous Programming with .NET teaches the essential skill of asynchronous programming in .NET. It answers critical questions in .NET application development, such as: how do I keep my program responding at all times to keep my users happy? how do I make the most of the available hardware? how can I improve performance?

In the modern world, users expect more and more from their applications and devices, and multi-core hardware has the potential to provide it. But it takes carefully crafted code to turn that potential into responsive, scalable applications.

With Pro Asynchronous Programming with .NET you will:

  • Meet the underlying model for asynchrony on Windows—threads.
  • Learn how to perform long blocking operations away from your UI thread to keep your UI responsive, then weave the results back in as seamlessly as possible.
  • Master the async/await model of asynchrony in .NET, which makes asynchronous programming simpler and more achievable than ever before.
  • Solve common problems in parallel programming with modern async techniques.
  • Get under the hood of your asynchronous code with debugging techniques and insights from Visual Studio and beyond. 
In the past asynchronous programming was seen as an advanced skill. It’s now a must for all modern developers. Pro Asynchronous Programming with .NET is your practical guide to using this important programming skill anywhere on the .NET platform.

 

What you’ll learn

  • How threads make asynchrony possible in .NET
  • The costs and benefits of different synchronization primitives
  • How to make the most of the async and await keywords for easier management of asynchronous operations
  • How to use an asynchronous model to scale processing across multiple cores
  • The different demands of IO and CPU bound processing
  • Debugging multithreaded code effectively

Who this book is for

Pro Asynchronous Programming with .NET is for the .NET developer who wants to get more out of the platform. It’s for the UI developer who finds their applications feel unresponsive. It’s for the server-side developer who is struggling to scale their systems. It’s for the developer who is being given more data to process and less time to do it in. Pro Asynchronous Programming with .NET is for people who want to solve problems but also understand how and why the solutions work.

Table of Contents

Chapter 1: Introduction to Asynchronous Programming
Chapter 2: The Evolution of the .NET Asynchronous API
Chapter 3: Tasks
Chapter 4: Basic Thread Safety
Chapter 5: Concurrent Data Structures and Primitives
Chapter 6: Fast and Fluid: Building a Responsive UI
Chapter 7: Async the .NET 4.5 Way – async and await
Chapter 8: Everything is a Task
Chapter 9: Server-side Async
Chapter 10: Parallel Programming
Chapter 11: Data Flow Constructs
Chapter 12: Task scheduling
Chapter 13: Debugging Async with Visual Studio
Chapter 14: Debugging Async Beyond Visual Studio

商品描述(中文翻譯)

《Pro Asynchronous Programming with .NET》教授在.NET中非同步編程的基本技能。它回答了.NET應用程序開發中的關鍵問題,例如:如何保持我的程序始終響應以滿足用戶的需求?如何充分利用可用的硬件?如何提高性能?

在現代世界中,用戶對應用程序和設備的期望越來越高,多核硬件有潛力實現這一點。但是,需要精心編寫的代碼才能將這一潛力轉化為響應迅速、可擴展的應用程序。

通過《Pro Asynchronous Programming with .NET》,您將:

- 了解在Windows上實現非同步的基本模型-線程。
- 學習如何將長時間阻塞的操作從UI線程中分離出來,以保持UI的響應性,然後以盡可能無縫的方式將結果編織回來。
- 掌握.NET中非同步編程的async/await模型,使非同步編程比以往更簡單、更可行。
- 使用現代非同步技術解決並行編程中的常見問題。
- 通過調試技術和來自Visual Studio等工具的洞察力深入了解非同步代碼。

過去,非同步編程被視為一項高級技能。現在,它對於所有現代開發人員來說都是必不可少的。《Pro Asynchronous Programming with .NET》是您在.NET平台上使用這一重要編程技能的實用指南。

您將學到:

- 線程如何在.NET中實現非同步
- 不同同步原語的成本和效益
- 如何更輕鬆地管理非同步操作的async和await關鍵字
- 如何使用非同步模型在多個核心上進行處理
- IO和CPU綁定處理的不同需求
- 有效調試多線程代碼

本書適合.NET開發人員,他們希望從平台中獲得更多。它適合UI開發人員,他們發現他們的應用程序反應遲鈍。它適合服務器端開發人員,他們正在努力擴展系統。它適合那些需要處理更多數據但時間更少的開發人員。《Pro Asynchronous Programming with .NET》適合那些想要解決問題但也想了解解決方案如何以及為什麼起作用的人。

目錄:

- 第1章:非同步編程簡介
- 第2章:.NET非同步API的演進
- 第3章:任務
- 第4章:基本線程安全
- 第5章:並發數據結構和原語
- 第6章:快速流暢:構建響應式UI
- 第7章:.NET 4.5中的非同步-async和await
- 第8章:一切都是任務
- 第9章:服務器端非同步
- 第10章:並行編程
- 第11章:數據流構造
- 第12章:任務調度
- 第13章:使用Visual Studio調試非同步
- 第14章:超越Visual Studio的非同步調試