Silicon Valley Code Camp – Code Generation Presentation Downloads

I attended the Silicon Valley Code Camp this past weekend and presented a session on Code Generation techniques using Visual Studio 2010. I’d like to thank everyone that attended the session and as promised you can download the presentation and code from Windows Live SkyDrive. Within the Visual Studio 2010 solution you’ll find sample code…


Sacramento .net Users Group – Code Generation with Visual Studio 2010

I’ll be speaking on August 31st at the Sacramento .net Users Group about code generation with Visual Studio 2010. We have had access to various techniques for code generation for almost as long as most of us have been writing software, although how many of us are really using these techniques within our projects today?…

5

Anatomy of the T4 Text Template

Visual Studio 2010 uses T4 text templates for code generation and within this blog post we’ll examine the anatomy of a text template and see how easily code and other text can be generated. Let’s take a look at an example in Visual Studio, we’ll create a new Visual C# empty project and add two…