I have written ashx which merges and remove white-spaces for javascript and css contents.
Using VS2010 ASP.NET Development Server everything works fine.
But in IIS7, text/javascript contents are not compressed (I'm using fiddler to monitor it).
I don't have problem with text/css contents and both of the contents are handled by the same ashx file.