Break out links generation for static files in to separate T4 template for ASP.NET WebForms

Aug 29, 2013 at 1:35 PM
Have you thought about breaking out the static file links T4 in to its own template and maybe assembly so it could be used with ASP.NET WebForms? I've grown to love the built-in link generation for my static files (css, js, images, etc.) for MVC. I recently got put in charge of supporting an older asp.net WebForms project for my company which we're doing a lot of javascript file updates in. I'm a big fan of the links and the built-in cache busting mechanism you have.

I could always attempt to reverse engineer the template to create a new one with just the Link/cache busting functionality.
Coordinator
Aug 29, 2013 at 3:00 PM
Way back, I wrote a little template for WebForms. See my post. Haven't tried it in ages, but please give it a try.