Pro Asynchronous Programming with .NET (Paperback)
暫譯: 專業 .NET 非同步程式設計 (平裝本)

Richard Blewett, Andrew Clymer, Rock Solid Knowledge Ltd

  • 出版商: Apress
  • 出版日期: 2013-12-23
  • 定價: $2,590
  • 售價: 8.0$2,072
  • 語言: 英文
  • 頁數: 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 綁定處理的不同需求
- 有效除錯多執行緒程式碼

本書適合對象:

《Pro Asynchronous Programming with .NET》適合希望充分利用 .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 之外除錯非同步