Content deleted Content added
No edit summary |
No edit summary |
||
Line 13:
| website = {{URL|https://docs.microsoft.com/en-us/visualstudio/modeling/code-generation-and-t4-text-templates?view=vs-2019}}
}}
'''Text Template Transformation Toolkit''' (usually referred to as "T4") is a template based text generation framework included with [[Visual Studio]]
T4 is used by [[Developer (software)|developers]] as part of an application or tool [[Framework (computer science)|framework]] to automate the creation of text files with a variety of parameters. These text files can ultimately be any text format, such as code (for example [[C Sharp (programming language)|C#]]), [[XML template engine|XML]], HTML or [[XAML Browser Applications|XAML]].
Line 21:
T4 is used within Microsoft in [[ASP.NET MVC]] for the creation of the views and controllers, [[ADO.NET Entity Framework]] for entity generation, and [[ASP.NET Dynamic Data]].<ref>{{cite web|url=http://blogs.msdn.com/b/davidebb/archive/2008/11/26/fun-with-t4-templates-and-dynamic-data.aspx |title=Fun with T4 templates and Dynamic Data - Angle Bracket Percent - Site Home - MSDN Blogs |publisher=Blogs.msdn.com |date=2008-11-26 |accessdate=2012-05-17}}</ref> It is also used outside of Microsoft in projects such as SubSonic<ref>{{cite web|author=|url=http://gcapnias.wordpress.com/2009/01/12/subsonic-v3%e2%80%99s-t4-templates/ |title=SubSonic v3’s T4 Templates « Daily Cycle |publisher=Gcapnias.wordpress.com |date=2009-01-12 |accessdate=2012-05-17}}</ref>
T4 templating is also supported in [[MonoDevelop]] and JetBrains Rider<ref>https://www.jetbrains.com/rider/</ref>.
==Controls==
|