.NET Rocks!

Mårten Rånge Takes Advantage of Templates

Episode #867 Tuesday, April 30, 2013

Carl and Richard talk to Mårten Rånge about Microsoft's Text Template Transformation Toolkit (T4). Don't call it code generation - Mårten talks about how T4 takes away code repetition and keeps you focused on the important stuff. The challenge is learning to build your own maintainable templates. The conversation explores a variety of examples of using T4 effectively for SQL, XAML as well as C# and C++. Mårten has a project on GitHub called T4Include to help you utilize them more effectively. The tooling isn't perfect, but there are alternatives - check it out!


Mårten Rånge

Mårten been a programmer since 1988 and a meta programmer since 1990 and has worked for small start-ups to larger organizations such as Visma or Microsoft. In T4 Mårten found his calling and is constantly trying to spread the word to family, friends, colleagues and strangers who just said hello. These days he works at Ericsson.


An error has occurred. This application may no longer respond until reloaded. Reload ×