C# 7 and .NET Core 2.0 High Performance: Build multi threaded and concurrent applications using C# 7 and .Net Core 2.0 (C# 7 與 .NET Core 2.0 高效能:使用 C# 7 和 .NET Core 2.0 建立多執行緒與併發應用程式)

Ovais Mehboob Ahmed Khan

  • 出版商: Packt Publishing
  • 出版日期: 2018-04-25
  • 定價: $1,430
  • 售價: 5.0$715
  • 語言: 英文
  • 頁數: 300
  • 裝訂: Paperback
  • ISBN: 1788470044
  • ISBN-13: 9781788470049
  • 相關分類: .NETC#
  • 立即出貨 (庫存=1)

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

相關主題

商品描述

Improve the speed of your code and optimize the performance of your apps

Key Features

  • Understand the common performance pitfalls and improve the performance of your application
  • Get to grips with Parallel programming and concurrency with C#
  • Build & Deploy Strategies for large and complex applications with the help of Microservices architecture.

Book Description

While writing an application, performance is paramount. With the recent developments in C# and .Net, there is a strong focus on performance improvements. Performance tuning for real-world applications often involves activities geared towards finding bottlenecks, however this alone cannot solve the dreaded problem of slow code.

If you want to improve the speed of your code and optimize the performance of your apps, then this book is for you.

The book begins with a gentle introduction to the new features of C# 7 and .NET Core 2.0, explaining how they help in improving the performance of your application. It will help you identify the bottlenecks in C# programming and highlight common performance pitfalls, along with strategies to detect and resolve these issues early. You will explore Multithreading and Concurrent programming with .Net Core and understand the importance of data structure optimization and how it can be used efficiently. After that, you will learn different memory management techniques along with design guidelines to increase application performance. Gradually, the book will show you how to leverage microservices architecture to build a high performing application and to secure and implement resilience in your applications. We end with some techniques you can use to monitor and explore the Glimpse tool.

What you will learn

  • Grasp the improvements in .NET Core 2.0 and C# 7.0
  • Understand .NET Core internals.
  • Use BenchmarkDotnet to measure performance.
  • Explore the techniques to write multithreaded application using Threads, Monitors etc.
  • Leverage TPL and PLinq libraries to perform asynchronous operations.
  • Get familiar with Data structures and write optimized code.
  • Understand design guidelines to increase application performance.
  • Develop a containerized application based on Microservices Architecture.
  • Implement health checks to monitor performance

Who This Book Is For

This book is for .NET developers looking to improve the speed of your code or simply wanting to take your skills up to the next level. Basic C# knowledge is assumed

商品描述(中文翻譯)

提升程式碼速度並優化應用程式效能

主要特點



  • 了解常見的效能陷阱,提升應用程式效能

  • 掌握使用C#進行平行程式設計和並行處理

  • 使用微服務架構建立和部署大型複雜應用程式的策略


書籍描述


在撰寫應用程式時,效能至關重要。隨著C#和.NET的最新發展,對於效能改進有著強烈的關注。對於現實世界的應用程式進行效能調整通常涉及尋找瓶頸的活動,然而僅僅這樣並不能解決緩慢程式碼的問題。


如果您想提升程式碼速度並優化應用程式效能,那麼這本書適合您。


本書首先簡要介紹C# 7和.NET Core 2.0的新功能,解釋它們如何幫助提升應用程式的效能。它將幫助您識別C#編程中的瓶頸,並突出常見的效能陷阱,以及檢測和解決這些問題的策略。您將探索使用.NET Core進行多線程和並行程式設計,並了解數據結構優化的重要性以及如何有效使用它。之後,您將學習不同的記憶體管理技術,以及增加應用程式效能的設計準則。逐漸地,本書將向您展示如何利用微服務架構建立高效應用程式,以及在應用程式中實現安全性和彈性。最後,我們將介紹一些監控和探索Glimpse工具的技術。


您將學到什麼



  • 掌握.NET Core 2.0和C# 7.0的改進

  • 了解.NET Core的內部結構

  • 使用BenchmarkDotnet測量效能

  • 探索使用執行緒、監視器等撰寫多線程應用程式的技術

  • 利用TPL和PLinq庫執行非同步操作

  • 熟悉數據結構並撰寫優化的程式碼

  • 了解增加應用程式效能的設計準則

  • 基於微服務架構開發容器化應用程式

  • 實現健康檢查以監控效能


適合閱讀對象


本書適合.NET開發人員,希望提升程式碼速度或將技能提升到更高水平的讀者。假設讀者具備基本的C#知識。