Code Generation with T4 Templates – A must have for developers

added by iwannis
10/26/2010 12:13:44 PM

0 Kicks, 67 Views

T4 Templates files have a .tt extension and are the input to VS2010’s code generation engine for automatically generating text files with all sorts of content (C# code, SQL Commands, XAML, HTML, XML etc). In this post, we will briefly see how we can create and use them and examine some very useful scenarios on situations where they may come in handy.