Practical Code Generation in .NET: Covering Visual Studio 2005, 2008, and 2010 by Peter Vogel

Practical Code Generation in .NET: Covering Visual Studio 2005, 2008, and 2010

byPeter Vogel

Kobo ebook | April 16, 2010

Pricing and Purchase Info

$42.69 online 
$53.28 list price save 19%

Prices and offers may vary in store

Available for download

Not available in stores


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
Title:Practical Code Generation in .NET: Covering Visual Studio 2005, 2008, and 2010Format:Kobo ebookPublished:April 16, 2010Publisher:Pearson EducationLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:0321617606

ISBN - 13:9780321617606