Click here to Skip to main content
15,882,113 members
Everything / T4

T4

T4

Great Reads

by Simon Gulliver
Really? Then why is so much effort wasted writing boilerplate which can be more accurately and efficiently automated?
by Daniel Vaughan
IntroductionWith UWP and WinRT, Microsoft introduced a new means for localizability, which differs significantly from the method employed in Silverlight and .NET desktop apps.
by Asher Barak, Itiel Beeri
Infrastructure for large scale WCF services layer development
by Weidong Shen
This article describes the IClientChangeTracking interface generated by Self-Tracking Entity Generator and Visual Studio 2012.

Latest Articles

by Keith Barrett
A C# library for use in physics and engineering calculations
by Rick Drizin
Simple structure for keeping SQL Server Auditing Tables and Versioned Records in the same set of tables, using Audit Triggers and Entity Framework
by Ryan Scott White
A simple drop-in function that provides T4 like template based text generation.
by rohitsies
This article describes an advanced technique and configuration to automatically transform and run your all or selected T4 templates when a project is build.

All Articles

Sort by Score

T4 

30 Jun 2016 by Simon Gulliver
Really? Then why is so much effort wasted writing boilerplate which can be more accurately and efficiently automated?
1 Oct 2015 by Daniel Vaughan
IntroductionWith UWP and WinRT, Microsoft introduced a new means for localizability, which differs significantly from the method employed in Silverlight and .NET desktop apps.
14 Jan 2016 by Asher Barak, Itiel Beeri
Infrastructure for large scale WCF services layer development
7 Mar 2013 by Weidong Shen
This article describes the IClientChangeTracking interface generated by Self-Tracking Entity Generator and Visual Studio 2012.
16 Aug 2013 by Syed Shabeer
Hi there,I am pretty new to T4 templates. I am seeking help to start creating a page using T4 templates.It seems most of the t4 editors are paid versions. However, i found a tool which is indeed free (http://www.devart.com/t4-editor/download.html[^])Now i am stuck in creating pages...
16 Aug 2013 by Andreas Gieriet
For public accessible content, see T4 Tutorial: Creating your first code generator[^] and Code Generation and T4 Text Templates[^].Have also a look at the T4 MVC specifig blog post T4 Templates: A Quick-Start Guide for ASP.NET MVC Developers[^]CheersAndi
20 Apr 2014 by Member 10194508
maybe this is a stupid question, thanks for any reply!
20 Apr 2014 by Member 10194508
I solve by my self,the assembly directive reference a with a .dll extensionfor example: system.xml.dll or use standard macro names like system.xmland the import directive just reference namefor example: system.xml, system.data, yourCustomerNamespace
4 Sep 2014 by deepakaitr12345
Hi Friends,I have been facing one issue that is, insert statement taking too much time.I have the same replica copy of database and code but locally it takes fraction of seconds,but when i deploy the code on the web server it is taking around 110 seconds for only 5000 records.Only one...
29 Sep 2014 by Member 11111448
We use our .net project fully based on t4Scaffold Template. So we have to automate this. Actually we tried to execute powershell command but scaffolding commands not working. just like "The term 'T4Scaffolding' is not recognized as the name of a cmdlet, function,...
2 Oct 2015 by Sreekanth Mothukuru
Install Visual Studio Extension tangible T4 Editor to edit or create T4 file and to generate POCO classeshttps://visualstudiogallery.msdn.microsoft.com/b0e2dde6-5408-42c2-bc92-ac36942bbee9[^]Also, follow this link on how to write T4 text...
6 Jul 2019 by Member 13065842
hi, I'm using Visual Studio 2019 community and created a VSIX extension project. In the project, I have some *.tt in a custom folder, the property "Build Action" was set to "Content" and "include in VSIX" was set to "True". When launch debug, the folder will be copied to output directory and...
23 Nov 2021 by Rick Drizin
Simple structure for keeping SQL Server Auditing Tables and Versioned Records in the same set of tables, using Audit Triggers and Entity Framework
12 Mar 2023 by Keith Barrett
A C# library for use in physics and engineering calculations
13 Aug 2013 by Florian Rappl
Second part in my annualy list of tips, this time including JavaScript, controls, tooling and customization, which has been build up from recent ASP.NET MVC 4 programming journeys.
25 Sep 2013 by Bruno Tagliapietra
Sometimes it could be useful to automatically increment the file version of an assembly at each build; this can be done even if you don't know MSBuild, using T4.
27 Sep 2018 by Akhil Mittal
In this article, we look at how we can leverage Entity Framework approaches and, as per need, use those.
1 Jun 2015 by Athari
C# CSS parser with with support for all modern CSS features.
3 Jul 2018 by Vincent Maverick Durano
This article is part 1 of the series for building a simple web application in ASP.NET MVC 5.
8 May 2021 by Ryan Scott White
A simple drop-in function that provides T4 like template based text generation.
5 Mar 2012 by Nikfazan
This article shows how you can make a Tree with hierarchical data supporting "CRUD operations", "drag and drop (DnD)" and "Lazy Loading" using Dojo store driven Tree, Entity Framework, SQL Server, ASP.NET MVC.
20 Sep 2018 by Sujeet Bhujbal
Angular 4 Insert, Update, Delete with ASP.NET WEB API
12 Nov 2013 by JuiceOntour, Infoteam SA
An elegant solution for standardized and rapid settings page generation for Windows Phone
3 Jul 2019 by rohitsies
This article describes an advanced technique and configuration to automatically transform and run your all or selected T4 templates when a project is build.
16 Aug 2013 by Jameel VM
Try thishttp://pluralsight.com/training/Courses/TableOfContents/t4-templates[^]You can use trial version of pluralsight.Hope this helps
2 Oct 2015 by MohsenSaleh
i have an class model with some properties and need to add piece of code in set section :class person{ string _name; public string Name { get { return _name; // code } set { _name = value; ...
4 Sep 2014 by thatraja
Check this threadSQL runs fast in SSMS slow in ASP.NET[^]
22 Jun 2015 by NagaRaju Pesarlanka
Hi,I want to access my entity data model in T4 templates.I want to generate some code from database in t4 template.ex: using(var context=new Mymodel()) { //db operations } Please help methank you....