O'Reilly logo

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

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Generating Code from Templates with T4

If you’ve looked at the two case studies in this book, you may well be concerned about the complexity of a typical code-generation solution (especially if you’ve looked at the CodeDom solution in Chapter 10, “Case Study: Generating Validation Code”). The main thing that you should be worried about is maintenance: Most shops spend 75 percent of their time extending, modifying, and (occasionally) fixing existing code. As a result, developers prefer solutions that are easy to maintain. You may be concerned that, because of the complexity ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required