Archives for February, 2008

Tampa Bay IASA chapter meeting


Introduction to Aspect Oriented Programming (AOP)
Write less code and create more maintainable applications by leveraging AOP to handle logging, caching, validation, security, and other cross-cutting concerns. In this presentation we will explore AOP functionality built into numerous tools and frameworks such as Castle Windsor, SpringFramework.NET, Enterprise Library’s Policy Injection Application Block, and PostSharp so you […]

T4 as a general-purpose .NET scripting engine


At first, I had a mixed reaction to Kirill’s new article about using T4 and JavaScriptCommentStripper to strip comments and non-significant white space from JavaScript files. The T4 template he created for this purpose was not a template at all - it had no text blocks, just code going through a directory and stripping comments […]

How to use T4 to generate strongly-typed navigation class in ASP.NET


In this article, Kirill Chilingarashvili demonstrates how to use a T4 template to generate a navigation class in ASP.NET. This class contains nested classes that represent folders and string constants that represent user control (.ascx) files in the application. Using such navigation class helps to avoid hard-coding file paths as string literals and since it […]

Understanding T4: <#@ include #> directive


This post describes the purpose and implementation mechanics of the T4 <#@ include #> directive.

Understanding T4: <#@ assembly #> directive


This post describes the purpose and implementation mechanics of the T4 <#@ assembly #> directive.

Understanding T4: <#@ import #> directive


This post describes the purpose and implementation mechanics of the T4 <#@ import #> directive.

Understanding T4: <#@ output #> directive


This post describes the purpose and implementation mechanics of the T4 <#@ output #> directive.

Understanding T4: <#@ template #> directive


This post describes the purpose and implementation mechanics of the T4 <#@ template #> directive.

Understanding T4: Class Feature Blocks


This post describes the purpose and implementation mechanics of the T4 class feature blocks.

Understanding T4: Expression Blocks


This post describes the purpose and implementation mechanics of the T4 expression blocks.