T4 Templates

Pluralsight
Course Summary
Introduction to Microsoft's Text Template Transformation Toolkit.
-
+
Course 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 Syllabus
Introduction- 6m 12s
—Outline 0m 28s
—What T4 is 1m 13s
—What T4 does 1m 2s
—T4 templates types 1m 2s
—The benefits of using T4 1m 0s
—T4 in the wild 0m 52s
—Summary 0m 35sGetting Started with T4- 11m 15s
—Outline 0m 21s
—Adding templates to projects 0m 53s
—A word of caution 0m 51s
—Template basics 3m 10s
—Executing templates 3m 55s
—Editing templates 1m 34s
—Summary 0m 31sT4 Building Blocks- 24m 44sExtended T4- 16m 32sReal world examples- 27m 17sTroubleshooting and debugging- 9m 27s