4
Reply

What is T4 template and how it can useful

Manas Mohapatra

Manas Mohapatra

Jul 12, 2015
3.9k
2

    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 Mohapatra
    July 12, 2015
    4

    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 Upadhyay
    August 17, 2015
    1

    Basic this comes in EF first and MVC. T4- Text template transformation toolkit

    Upendra Pratap Shahi
    August 05, 2015
    1

    http://www.c-sharpcorner.com/UploadFile/b182bf/what-is-t4-template-in-mvc/

    Munesh Sharma
    August 05, 2015
    0