Archives for December, 2008

T4 Toolbox: Strongly-typed AzMan wrapper generator


Build 8.12.27.1 of T4 Toolbox includes a new project item template for an AzMan authorization policy XML file and a code generator that produces a C# wrapper for performing operation-based authorization checks against it. The generator creates a separate enumerated type with security operations for each application application in the AzMan policy and a wrapper class with strongly-typed Authorize and CanPerform methods that take these enums as parameters.

What is in T4 Toolbox?


T4 Toolbox provides a micro-framework for composite code generators, automatic management of multiple output files in the solution, unit test runner, custom directive processors, ready-to-use code generators and Visual Studio project item templates.

Why use T4 Toolbox?


This article describes why you may want to consider using T4 Toolbox in addition to the Text Template Transformation Toolkit (T4) itself.