How to use T4 to generate strongly-typed navication class in ASP.NET(blog.devarchive.net)
submitted by
olegsych(335) 4 years, 3 months ago
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.
|category: ASP.NET
|Views: 25
tags:
T4 CodeGeneration ASP.NET another
Everyones tags:
Your Tags: