Articles Archive

Understanding T4: Preprocessed Text Templates


This article provides an overview of preprocessed text templates in Visual Studio 2010 and includes detailed description of differences between preprocessed and traditional text templates.

T4 and CodeDOM - Better Together


This article discusses advantages and drawbacks of T4 and CodeDOM and shows how to combine these code generation technologies to get the best of both worlds and allow tool developers to build code generators that can produce code in multiple .NET languages and allow application developers to extend them using templating features of T4 and the programming language of their choice.

T4 Tutorial: Generating Code from DSL Models


This article provides an overview of Domain-Specific Languages in Visual Studio SDK and demonstrates how to use T4 Toolbox to make DSL code generators easier to use, maintain and extend.

Customizing TFS Process Guidance


This article provides an overview of customizing process guidance for Visual Studio Team Foundation Server.

T4 Toolbox: Visual Basic as Template Language


As of version 9.7, T4 Toolbox now supports Visual Basic as the template language in addition to C#.

T4 Toolbox: LINQ to SQL schema generator


This article describes how to use model-first approach to develop database applications using LINQ to SQL and version 9.5 of T4 Toolbox.

Crossing Domain Boundaries: Windows Authentication


This article describes a set of simple configuration changes and utilities to make most applications using integrated Windows authentication work correctly accross domain boundaries.

Crossing Domain Boundaries: Name Resolution


This article provides an overview of DNS and NetBIOS and provides practical guidance on how to configure name resolution when accessing network resources and applications from another Active Directory domain.

Simplifying TFS: Applying hot fixes without branching


This article describes an approach for using a Team Foundation workspace to create a hot-fix for a Team build created in the past without introducing untested side effects and without adding complexity of branching and merging the source code.

T4 Toolbox: Generating files in different folders and projects


This article describes how to generate multiple output files in different directories and different folders with the help of version 9.3.21.1 of T4 Toolbox.