Templates and code generation

BookPracticalCodeGenerationInNetPractical Code Generation in .NET: Covering Visual Studio 2005, 2008, and 2010
By Peter Vogel. 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.

BookCodeGenerationInNetCode Generation in Microsoft .NET
By Kathleen Dollard. This book teaches code generation as a scripted repeatable process using templates you control, so you’re not tied to a particular framework or style. Because you can regenerate code at any time, you can incorporate changes, including database changes, throughout the life of your application. The underlying fundamentals are explained along with three specific techniques: outputting code to a stream, using the Code Dom, and using Xslt-based code generation.

VS SDK, packages, add-ins, macros and more…