Tag: C#

T4 Beginner Tutorial: Generate C# classes based on text definitions

Introduction T4 stands for Text Template Transformation Toolkit. When you scaffold a controller or view in ASP.NET, in the background T4 Templates that contain those structures are executed and files are generated for you. In this article I will explain how you can generate classes yourself, based on simple definitions in a text file. This

Continue reading