High-Performance Programming in C# and .NET: Understand the nuts and bolts of developing robust, faster, and resilient applications in C# 10.0 and .NE

Alls, Jason

  • 出版商: Packt Publishing
  • 出版日期: 2022-07-29
  • 售價: $1,850
  • 貴賓價: 9.5$1,758
  • 語言: 英文
  • 頁數: 660
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1800564716
  • ISBN-13: 9781800564718
  • 相關分類: .NETC#
  • 立即出貨 (庫存=1)

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

商品描述

Enhance your applications' performance using best practices for benchmarking, application profiling, asynchronous programming, designing responsive UIs, gRPC communication, and distributed applications


Key Features:

  • Make the best use of performance enhancements in C# 10.0 and .NET 6
  • Boost application performance by identifying hardware bottlenecks and common performance pitfalls
  • Get to grips with best practices and techniques for improving the scalability of distributed systems


Book Description:

Writing high-performance code while building an application is crucial, and over the years, Microsoft has focused on delivering various performance-related improvements within the .NET ecosystem. This book will help you understand the aspects involved in designing responsive, resilient, and high-performance applications with the new version of C# and .NET.


You will start by understanding the foundation of high-performance code and the latest performance-related improvements in C# 10.0 and .NET 6. Next, you'll learn how to use tracing and diagnostics to track down performance issues and the cause of memory leaks. The chapters that follow then show you how to enhance the performance of your networked applications and various ways to improve directory tasks, file tasks, and more. Later, you'll go on to improve data querying performance and write responsive user interfaces. You'll also discover how you can use cloud providers such as Microsoft Azure to build scalable distributed solutions. Finally, you'll explore various ways to process code synchronously, asynchronously, and in parallel to reduce the time it takes to process a series of tasks.


By the end of this C# programming book, you'll have the confidence you need to build highly resilient, high-performance applications that meet your customer's demands.


What You Will Learn:

  • Use correct types and collections to enhance application performance
  • Profile, benchmark, and identify performance issues with the codebase
  • Explore how to best perform queries on LINQ to improve an application's performance
  • Effectively utilize a number of CPUs and cores through asynchronous programming
  • Build responsive user interfaces with WinForms, WPF, MAUI, and WinUI
  • Benchmark ADO.NET, Entity Framework Core, and Dapper for data access
  • Implement CQRS and event sourcing and build and deploy microservices


Who this book is for:

This book is for software engineers, professional software developers, performance engineers, and application profilers looking to improve the speed of their code or take their skills to the next level to gain a competitive advantage. You should be a proficient C# programmer who can already put the language to good use and is also comfortable using Microsoft Visual Studio 2022

商品描述(中文翻譯)

提升應用程式效能的最佳實踐,包括基準測試、應用程式分析、非同步程式設計、設計響應式使用者介面、gRPC 通訊和分散式應用程式。

主要特點:
- 充分利用 C# 10.0 和 .NET 6 中的效能增強功能
- 透過識別硬體瓶頸和常見效能陷阱來提升應用程式效能
- 掌握改善分散式系統可擴展性的最佳實踐和技巧

書籍描述:
在構建應用程式時撰寫高效能程式碼至關重要,多年來,Microsoft 一直致力於在 .NET 生態系統中提供各種與效能相關的改進。本書將幫助您了解使用新版本的 C# 和 .NET 設計響應式、具彈性和高效能應用程式的相關方面。

您將首先了解高效能程式碼的基礎以及 C# 10.0 和 .NET 6 中的最新效能相關改進。接下來,您將學習如何使用追蹤和診斷工具來追蹤效能問題和記憶體洩漏的原因。隨後的章節將向您展示如何提升網路應用程式的效能,以及改進目錄任務、檔案任務等的各種方法。之後,您將改善資料查詢效能並撰寫響應式使用者介面。您還將發現如何使用 Microsoft Azure 等雲端提供者來構建可擴展的分散式解決方案。最後,您將探索各種同步、非同步和平行處理程式碼的方法,以減少處理一系列任務所需的時間。

通過閱讀本書,您將具備構建高度彈性、高效能應用程式的信心,以滿足客戶的需求。

學到什麼:
- 使用正確的類型和集合來提升應用程式效能
- 透過分析、基準測試和識別程式碼庫中的效能問題
- 探索如何在 LINQ 上執行最佳查詢以提升應用程式效能
- 透過非同步程式設計有效利用多個 CPU 和核心
- 使用 WinForms、WPF、MAUI 和 WinUI 建立響應式使用者介面
- 進行 ADO.NET、Entity Framework Core 和 Dapper 的效能基準測試
- 實施 CQRS 和事件溯源,並建立和部署微服務

適合對象:
本書適合軟體工程師、專業軟體開發人員、效能工程師和應用程式分析師,他們希望提升程式碼的速度或將自己的技能提升到更高的水平以獲得競爭優勢。您應該是一位熟練的 C# 程式設計師,已經能夠熟練使用該語言,並且熟悉使用 Microsoft Visual Studio 2022。