Content deleted Content added
mNo edit summary |
Citation bot (talk | contribs) Alter: title. | Use this bot. Report bugs. | Suggested by Jamesluiz102 | Category:Free and open-source software | via #UCB_Category 112/160 |
||
Line 19:
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]].
T4 uses a custom template format which can contain .NET code and [[string literal]]s in it, this is parsed by the T4 command line tool into .NET code, compiled and executed. The output of the executed code is the text file generated by the template.<ref name="Templatesza">{{citation|author=Web Templates|title=Website templates|url=http://www.websitetemplates.org.za/website-templates-type/|
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 |
T4 templating is supported in [[Visual Studio]], [[MonoDevelop]] and JetBrains Rider.<ref>https://www.jetbrains.com/rider/</ref>
Line 53:
==Criticism==
{{Advert section|date=May 2017}}
Microsoft has often been criticized{{By whom|date=May 2017}} for the lack of tooling support for T4 within the Visual Studio IDE, and relies on third parties namely [https://web.archive.org/web/20110714235509/http://www.olegsych.com/2009/04/t4-editor-by-tangible-engineering/ Tangible Engineering],<ref>{{cite web|last=Sych |first=Oleg |url=http://www.olegsych.com/2007/12/text-template-transformation-toolkit/ |title=T4: Text Template Transformation Toolkit |publisher=Oleg Sych |date=2007-12-22 |
==History==
|