Metaprogramming in C#: Automate your .NET development and simplify overcomplicated code (Paperback)
暫譯: C# 的元程式設計:自動化您的 .NET 開發並簡化過於複雜的程式碼 (平裝本)

Ingebrigtsen, Einar

  • 出版商: Packt Publishing
  • 出版日期: 2023-06-30
  • 售價: $1,700
  • 貴賓價: 9.5$1,615
  • 語言: 英文
  • 頁數: 352
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1837635420
  • ISBN-13: 9781837635429
  • 相關分類: .NETC#
  • 立即出貨 (庫存=1)

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

商品描述

Master advanced techniques for dynamic .NET programming and accelerate productivity by automating tasks, generating adaptable code, and more

Purchase of the print or Kindle book includes a free PDF eBook

 

Key Features:

  • Employ metaprogramming to automate your tasks and increase your productivity
  • Write maintainable, scalable, and adaptable code using metaprogramming techniques
  • Leverage the .NET runtime for complex problem-solving

 

Book Description:

Metaprogramming is an advanced technique that helps developers to automate repetitive tasks, generate scalable code, and enhance productivity in software development. Metaprogramming in C# is a comprehensive guide that will help you reap the full potential of metaprogramming in .NET runtime.

You'll start by learning about the .NET runtime environment and how you can use it to become a more productive developer. You'll learn how to infer types using reflection, use attributes, and create dynamic proxies. You'll also explore the use of expressions to create and execute code and how to take advantage of Dynamic Language Runtime.

But that's not all! You'll also learn to go beyond inheritance and use method signature conventions to create easily maintainable code. Finally, you'll dive into the world of compiler magic with Roslyn, where you'll discover how to use Roslyn to generate code, perform static code analysis, and write your own compiler extensions.

By the end of this book, you'll have a deep understanding of metaprogramming concepts and how to apply them to your C# code. You'll be able to think about types, use attributes and expressions to generate code, and apply crosscutting concerns to improve code quality.

 

What You Will Learn:

  • Explore how to leverage the .NET runtime
  • Improve code quality and increase productivity
  • Write adaptable code for changing requirements
  • Learn Roslyn for code generation and static analysis
  • Master metaprogramming and its practical implementations
  • Use Dynamic Language Runtime for flexible and expressive programming

 

Who this book is for:

This book is for C# developers interested in learning about the .NET runtime and how to leverage it for writing maintainable, scalable, and secure code. Software architects who are responsible for designing and managing complex software solutions will also benefit from the book.

商品描述(中文翻譯)

掌握動態 .NET 程式設計的進階技術,透過自動化任務、生成可調整的程式碼等方式加速生產力

購買印刷版或 Kindle 版書籍可獲得免費 PDF 電子書

主要特色:


  • 運用元程式設計自動化任務,提高生產力

  • 使用元程式設計技術撰寫可維護、可擴展和可調整的程式碼

  • 利用 .NET 執行環境解決複雜問題

書籍描述:

元程式設計是一種進階技術,幫助開發人員自動化重複性任務、生成可擴展的程式碼,並提升軟體開發的生產力。《C# 中的元程式設計》是一本全面的指南,將幫助您充分發揮 .NET 執行環境中元程式設計的潛力。

您將從學習 .NET 執行環境開始,了解如何利用它成為更具生產力的開發人員。您將學習如何使用反射推斷類型、使用屬性以及創建動態代理。您還將探索使用表達式來創建和執行程式碼,以及如何利用動態語言執行環境(Dynamic Language Runtime)。

但這還不是全部!您還將學習超越繼承,使用方法簽名約定來創建易於維護的程式碼。最後,您將深入 Roslyn 的編譯器魔法世界,發現如何使用 Roslyn 生成程式碼、執行靜態程式碼分析,並撰寫自己的編譯器擴展。

在本書結束時,您將對元程式設計概念有深入的理解,並知道如何將其應用於您的 C# 程式碼。您將能夠思考類型,使用屬性和表達式生成程式碼,並應用橫切關注點以改善程式碼質量。

您將學到的內容:


  • 探索如何利用 .NET 執行環境

  • 改善程式碼質量並提高生產力

  • 撰寫適應變更需求的程式碼

  • 學習使用 Roslyn 進行程式碼生成和靜態分析

  • 掌握元程式設計及其實際應用

  • 使用動態語言執行環境進行靈活且具表達力的程式設計

本書適合對象:

本書適合對 C# 開發人員,特別是對學習 .NET 執行環境及如何利用它撰寫可維護、可擴展和安全程式碼感興趣的開發者。負責設計和管理複雜軟體解決方案的軟體架構師也將從本書中受益。

最後瀏覽商品 (20)