Metaprogramming in C#: Automate your .NET development and simplify overcomplicated code (Paperback)
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
-
相關分類:
.NET、C#
立即出貨 (庫存=1)
買這商品的人也買了...
-
$1,710$1,620 -
$520$411 -
$700Professional Scrum Development with Microsoft Visual Studio 2012 (Paperback)
-
$958深度學習
-
$650$507 -
$454JSON 實戰
-
$580$458 -
$398$299 -
$460$414 -
$420$332 -
$599$473 -
$658C++ 碼農日記 (全程視頻講解)
-
$800$624 -
$500$395 -
$400$316 -
$400C++ 新經典:模板與泛型編程
-
$780$616 -
$1,400Programming C# 10: Build Cloud, Web, and Desktop Applications
-
$580$458 -
$2,185$2,070 -
$580$435 -
$1,710$1,625 -
$606C# 函數式編程, 2/e (Functional Programming in C#, 2/e)
-
$556大規模語言模型:從理論到實踐
-
$880$695
相關主題
商品描述
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運行時環境以及如何利用它成為一名更有生產力的開發人員。您將學習如何使用反射推斷類型、使用屬性和創建動態代理。您還將探索使用表達式來創建和執行代碼,以及如何利用動態語言運行時。
但這還不是全部!您還將學習超越繼承,使用方法簽名慣例來創建易於維護的代碼。最後,您將深入研究Roslyn的編譯器魔法,了解如何使用Roslyn生成代碼、執行靜態代碼分析,並編寫自己的編譯器擴展。
通過閱讀本書,您將深入了解元編程概念以及如何將其應用於C#代碼。您將能夠思考類型,使用屬性和表達式生成代碼,並應用橫切關注點以提高代碼質量。
您將學到:
- 探索如何利用.NET運行時
- 提高代碼質量,提高生產力
- 編寫適應性代碼以應對變化的需求
- 學習Roslyn進行代碼生成和靜態分析
- 掌握元編程及其實際應用
- 使用動態語言運行時進行靈活和表達性豐富的編程
適合閱讀對象:
本書適合對學習.NET運行時以及如何利用它編寫可維護、可擴展和安全代碼感興趣的C#開發人員。負責設計和管理複雜軟件解決方案的軟件架構師也將從本書中受益。