Wednesday, March 30, 2011

HttpHandler Combine javascript and css

Works for Javascript
Works on both Javascript and CSS
For the first one, use
<%= xxxx.ScriptCombiner.GetScriptTags("xxx") %>
the version can be get from, which will force combined files refresh after new compiled bin files updated.
System.Reflection.Assembly.GetExecutingAssembly().GetName().Version

No comments: