Discussion on:

Message 2 of 2
0 Votes
+ -
I Use T4 Everyday in My C# Programming
Hi Justin,

Good to see a blog again on T4 templating. I started using these about a year ago to take away some of the mundane tasks associated with proper pattern development for backend systems.

Since that time I have developed several useful DSL files that I use T4 to create. These include a Database DSL which creates my DDL scripts and stored procedures, a data repository DSL that handles my ORM for data transfer objects, a business object DSL that creates a composite object model for combing DSL files into a more useful business object, and finally, a service DSL that creates a service model with REST to expose the ORM heirarchy to the UI.

I read/create all of the DSL files with T4 Templates. So when I am done I have a number of artifacts that would require a lot of boredom to produce such as interfaces (read and write), controllers, entities, etc.

My development also includes a 100% code coverage of unit testing modules to be sure that everything works.

Now that I have written a disertation the short answer is "Yes, I use T4 and do not know what I would do without it!".
Posted by tracy@...
26th Oct 2009