Thursday, December 18, 2008

T4 (Text Template Transformation Toolkit)

I read about it month or two ago in Scott Hansel man's Blog. But I didn't try it at that time. Now when I tried it, I found that it is very useful & you can save a lot of time by using it. You can generate code/SQL, anything you want. I have created a Data Access + Stored Procedure generator using it. May be you already know about "code smith". It is a great template generating tool but it's not free. T4 is free, it's already included with VS 2008. we can use it for VS 2005 too by installing an addin. Oleg Sych has an excellent tutorial about T4.

Scott hanselman
http://www.hanselman.com/blog/T4TextTemplateTransformationToolkitCodeGenerationBestKeptVisualStudioSecret.aspx

Oleg Sych Tutorials

http://www.olegsych.com/2007/12/text-template-transformation-toolkit/

No comments: