Why the fuck would you want to use a .tt on a web.config file?!

What about they keys you don't want to be mandatory? And you want to set some defaults for them if they're not present in the web.config file?!

I mean WTF?! Am I missing something here?!

Or is it really just that you wanted to be cool and have a file that writes some more code in another file in your project?!


  • 0
    I don't really want to use web.config files anymore at all.

    Only reason I can think of to do that is they want build time registration of code gen'd assets and modules that are provided by some configuration source in some way that web.config transforms didn't support.
Add Comment