|
|
submitted by
olegsych
9 months, 29 days ago
blog.devarchive.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.
|
|
tags:
CodeGeneration, T4, ASP.NET | tag it
Everyones tags: | Your tags: | |
|
|
|
Add a live kick counter to your blog >>
You can even customize the image by choosing your own colors, and then clicking
the button below to update the preview and the html code:
Simply copy and paste this HTML into your blog post.
Users who kicked this story:
|