The problem is this code snippet James Law posted here:
Change the requested url of WebResource.axd
If i intercept the Stream to change the path of WebResource ( and ScriptResource) all my Download links for Images and PDFs break. There is no Error, but the files the user downloads are broken. (PDFs are empty and Images not Viewable).
But i need to rewrite the url of WebResource or all my Ajax controls don't work when uploading to the server...
Could somebody explain why this is and maybe even how I could solve the problem? I have to admit as I am quite new to asp.net and the .net framework in general I don't really know what's going on in this code.