I saw the T4 template in ASP. net mvc in my blog. I also wrote a Text Template conversion toolbox T4.
T4 (Text Template transformation Toolkit) is officially used by Microsoft in Visual Studio 2008.CodeGeneration engine, but it is a pity that T4 is not as informative as other tools released by Microsoft, and there are few templates. On msdn, there is not even a dedicated directory to introduce it, the only side is the generating artifacts by using text templates introduced when introducing the DSL tool. The blog of the Visual Web Developer project team has a post on in-depth exploration of T4 templates in ASP. net mvc: T4 templates, a quick guide for ASP. net mvc developers. The template library plug-ins such as T4 toolbox and commercial editing tools such as T4 editor of Clarius consulting are provided.CommunityVersion, but it is still troublesome and demanding to write complicated T4 templates.
According to the introduction of Miguel de Icaza in Mono's Text Template transformation Toolkit (T4): "T4 support in monodevelop, with Error Reporting and document outline ", supports the syntax highlighting and editing check of TT files. You can try monodevelop if you don't want to use T4 editor.
T4 templates are not only applied to ASP. net mvc, but can be applied to all fields of code generation, but there is little information about T4. I have created a group T4 template engine in the community. You are welcome to organize T4 documents.