Interviews4 answers
What is T4 template and how it can useful
4 Answers
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.It is also used outside of Microsoft in projects such as Sub Sonic.T4 templating is also supported in Mono Development.
Arvind UpadhyayPosted Aug 17, 2015, 6:39 AM EDT
Basic this comes in EF first and MVC.
T4- Text template transformation toolkit
Upendra Pratap ShahiPosted Aug 4, 2015, 10:55 PM EDT
http://www.c-sharpcorner.com/UploadFile/b182bf/what-is-t4-template-in-mvc/
Munesh SharmaPosted Aug 4, 2015, 10:04 PM EDT
T4 stands for Text template transformation toolkit is template based code generation engine. So you can write C# code in T4 templates ( .tt is the extension) files and those c# codes execute to generate the file as per the written C# logic.
It is used in Entityfreamework, MVC to create strongly type views.
Manas MohapatraPosted Jul 12, 2015, 4:54 AM EDT



