I have just spent half a day quietly going mad.
I\'m making changes to my classes in the Site.css file and they were not being reflected in the site being develope
For ASP.NET, the code behind (you can put this in a utility class or master page):
public static string GetTimestampedUrl(string virtualPath)
{
var realPath = HostingEnvironment.MapPath(virtualPath);
var file = new FileInfo(realPath);
return VirtualPathUtility.ToAbsolute(virtualPath) + "?" + file.LastWriteTime.ToFileTime();
}
And then in your page:
" rel="stylesheet" type="text/css" media="screen" />