0
kicks
How to use T4 to generate strongly-typed navication 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 users control (.ascx) files in the application. Using such navigation class helps to avoid hardcoding file paths as string literals and because it is automatically generated there is no need to maintain string constants manually.