VP of Development and Sales Position
Two Hour Premier of Prison Break Tonight on Fox
State by State Polling Data
John from Cincinnati - Johnny Appleseed
Mobile Computing Lead Position
career jobs headhunter charlotte nc
MCSD, SCJP, Linux+, CSM
Oxcite
Charlotte ALT.NET
Matthew Lefevre Wiki Articles
Lefevre Genealogy at matthewlefevre.com Charlotte Jobs Employment Career Recruiters Headhunter Robert Half Ettain Apex Job Recruiter








 RSS  | The Last 15 Posts  | The Complete Entry List

Text Templating Transformation Toolkit (T4)

2008-04-29 20:57:00
There is a "hidden" code generation feature in Visual Studio 2008 called Text Templating Transformation Toolkit or T4. It was added to VS2008 to help support Microsoft's Software Factory and DSL strategies.

The Basics:
Your add a .tt file to your project. You use VB.NET or C# to write code that generates any text output - .cs, .vb, .xml, .sql, .html, .xsd, .js, etc...
The templating syntax is similar enough to JSP or ASP.NET. This is an excellent way to bring code generation directly into your IDE.

More Info:
How Do I: Create And Use T4 Templates Video
Nice simple examples by Oleg Sych
The Clarius Add-in for Syntax Highlighting
Domain-Specific Language Tools at MSDN

bookmark with Diggbookmark with StumbleUponbookmark with Technoratibookmark with Redditbookmark with Delicousbookmark with NewsVineDZone Itbookmark with Furl