T4 Templates

Introduction to Microsoft's Text Template Transformation Toolkit.
More
Introduction to Microsoft's Text Template Transformation Toolkit.
More
This course introduces T4, Microsoft's code generation tool that comes with Visual Studio. The Text Template Transformation Toolkit dynamically produces text of any type and is used for code and document generation. Discover how to reduce development time, bugs and maintenance by building reusable templates. This course covers T4 template building blocks, extending templates with custom functionality and debugging the template execution process. MVC and Entity Framework, among others, can be customized and extended through T4 templates. This course covers how to customize MVC controllers using the default templates and the MVCScaffolding package, and customizing entities by adding validation attributes. Top it off with real world uses of T4 including generating, and automatically synchronizing, code based on external resources, and combining T4 with other technologies to produce powerful templates.
Table of Contents
Description
This course introduces T4, Microsoft's code generation tool that comes with Visual Studio. The Text Template Transformation Toolkit dynamically produces text of any type and is used for code and document generation. Discover how to reduce development time, bugs and maintenance by building reusable templates. This course covers T4 template building blocks, extending templates with custom functionality and debugging the template execution process. MVC and Entity Framework, among others, can be customized and extended through T4 templates. This course covers how to customize MVC controllers using the default templates and the MVCScaffolding package, and customizing entities by adding validation attributes. Top it off with real world uses of T4 including generating, and automatically synchronizing, code based on external resources, and combining T4 with other technologies to produce powerful templates.
Course info
Level
Intermediate
Rating
(371)
Duration
1h 35m
Released
18 Jan 2012
Course authors

Dustin is a co-founder of Developer Advocates, a freelance evangelism for hire outfit. He is also a co-host on the MashThis.IO podcast. As a PostSharp MVP, he regularly attends user groups, code camps and other developer events to speak about aspect oriented programming and a range of other topics.

Share course