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
暫譯: C# 和 .NET 高效能程式設計:深入了解在 C# 10.0 和 .NET 中開發穩健、更快且具韌性的應用程式的核心原理

Alls, Jason

  • 出版商: Packt Publishing
  • 出版日期: 2022-07-29
  • 售價: $1,980
  • 貴賓價: 9.5$1,881
  • 語言: 英文
  • 頁數: 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 的性能增強
- 通過識別硬體瓶頸和常見性能陷阱來提升應用程式性能
- 掌握改善分散式系統可擴展性的最佳實踐和技術

書籍描述:
在構建應用程式時,撰寫高性能代碼至關重要,多年來,微軟專注於在 .NET 生態系統中提供各種與性能相關的改進。本書將幫助您理解設計響應式、彈性和高性能應用程式所涉及的各個方面,並使用 C# 和 .NET 的新版本。

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

在這本 C# 程式設計書的結尾,您將擁有構建高度彈性、高性能應用程式所需的信心,以滿足客戶的需求。

您將學到的內容:
- 使用正確的類型和集合來增強應用程式性能
- 對代碼庫進行分析、基準測試並識別性能問題
- 探索如何最佳執行 LINQ 查詢以改善應用程式性能
- 通過非同步程式設計有效利用多個 CPU 和核心
- 使用 WinForms、WPF、MAUI 和 WinUI 構建響應式使用者介面
- 對 ADO.NET、Entity Framework Core 和 Dapper 進行基準測試以獲取數據
- 實現 CQRS 和事件來源,並構建和部署微服務

本書適合對象:
本書適合希望提高代碼速度或提升技能以獲得競爭優勢的軟體工程師、專業軟體開發人員、性能工程師和應用程式分析師。您應該是一位熟練的 C# 程式設計師,能夠充分利用該語言,並且對使用 Microsoft Visual Studio 2022 感到舒適。