Practical Code Generation in .NET: Covering Visual Studio 2005, 2008, and 2010 (Paperback)
暫譯: .NET 實用程式碼生成:涵蓋 Visual Studio 2005、2008 和 2010 (平裝本)
Peter Vogel
- 出版商: Addison Wesley
- 出版日期: 2010-04-26
- 售價: $2,030
- 貴賓價: 9.5 折 $1,929
- 語言: 英文
- 頁數: 375
- 裝訂: Paperback
- ISBN: 0321606787
- ISBN-13: 9780321606785
-
相關分類:
.NET、Visual Studio
已過版
買這商品的人也買了...
-
$980$774 -
$620$490 -
$990$891 -
$350$315 -
$580$383 -
$860$731 -
$680$537 -
$520$411 -
$820$648 -
$530$419 -
$890$703 -
$490$323 -
$750$495 -
$1,176Computer Organization and Design: The Hardware/Software Interface, 4/e (ARM Edition) (Paperback)
-
$490$387 -
$450$351 -
$490$387 -
$850$672 -
$950$751 -
$1,750$1,663 -
$550$363 -
$600$468 -
$680$537 -
$580$383 -
$650$514
相關主題
商品描述
“Once this skill is within your everyday comfort zone, it will give your productivity a boost and increase your value to your team. I encourage you to add the techniques outlined in this book to your toolset and to use them to develop your own workbench of generative tools. In doing so, I’m confident you’ll improve your capabilities, and what’s more, have fun doing so.”
–From the Foreword by Gareth Jones, Developer Architect, Visual Studio®, Microsoft
Enlist Visual Studio’s Built-in Code Generation Tools to Write Better Software Faster
Automatic code generation can dramatically increase your productivity, improve code quality and maintainability, promote reuse, and help you extend best practices throughout your development organization. .NET and Visual Studio contain many powerful, code-generation tools--and this book shows you how to succeed with all of them. With Practical Code Generation in .NET, spend less time writing monotonous, repetitive code--leaving more time to address troublesome areas!
Microsoft MVP Peter Vogel covers code generation with Visual Studio 2010, 2008, and 2005, as well as all recent versions of .NET, including .NET 4.0. You’ll learn when enlisting code generation makes sense and how to design solutions that build on the skills and resources you already have.
Writing for experienced programmers, Vogel shows how to generate reliable code using procedural code, Visual Studio add-ins, XML, configuration files, and more--including Microsoft’s innovative CodeDOM technology for generating code in multiple languages. He brings everything together in three complete, chapter-length case studies.
Coverage includes
• Understanding the structure of .NET code-generation solutions and best practices for architecting them
• Creating Visual Studio add-ins that quickly integrate code generation into day-to-day activities
• Using objects and methods to add or remove project components
• Using text insertion to generate code using any tool--even standard string handling functions
• Working with the specific features of C#, Visual Basic .NET, and ASP.NET
• Generating more concise code with .NET’s new Text Template Transformation Toolkit (T4)
• Building code-generation solutions with Visual Studio templates, attributes, and custom tools
• Distributing code-generation solutions
商品描述(中文翻譯)
“當這項技能成為你日常的舒適區時,它將提升你的生產力並增加你對團隊的價值。我鼓勵你將本書中概述的技術加入你的工具箱,並利用它們來開發你自己的生成工具工作台。這樣做的話,我相信你會提升你的能力,更重要的是,還能享受這個過程。”
– 來自 Gareth Jones 的前言,Visual Studio® 開發架構師,微軟
利用 Visual Studio 的內建代碼生成工具更快地編寫更好的軟體
自動代碼生成可以顯著提高你的生產力,改善代碼質量和可維護性,促進重用,並幫助你在整個開發組織中推廣最佳實踐。.NET 和 Visual Studio 包含許多強大的代碼生成工具——而本書將向你展示如何成功使用它們。透過《.NET 實用代碼生成》,你可以花更少的時間編寫單調、重複的代碼,從而留出更多時間來解決棘手的問題!
微軟 MVP Peter Vogel 涵蓋了 Visual Studio 2010、2008 和 2005 的代碼生成,以及所有最近版本的 .NET,包括 .NET 4.0。你將學習在何時使用代碼生成是合理的,以及如何設計基於你已擁有的技能和資源的解決方案。
針對經驗豐富的程式設計師,Vogel 展示了如何使用程序代碼、Visual Studio 外掛、XML、配置文件等生成可靠的代碼——包括微軟創新的 CodeDOM 技術,用於生成多種語言的代碼。他在三個完整的章節案例研究中將所有內容整合在一起。
內容包括:
• 理解 .NET 代碼生成解決方案的結構及其架構最佳實踐
• 創建 Visual Studio 外掛,快速將代碼生成整合到日常活動中
• 使用對象和方法添加或移除項目組件
• 使用文本插入生成代碼,使用任何工具——甚至是標準字符串處理函數
• 使用 C#、Visual Basic .NET 和 ASP.NET 的特定功能
• 使用 .NET 的新文本模板轉換工具包 (T4) 生成更簡潔的代碼
• 使用 Visual Studio 模板、屬性和自定義工具構建代碼生成解決方案
• 分發代碼生成解決方案