I'm learning REST to implement some Services with WCF. I implemented an example with a MemoryStream. Because MemoryStream is Disposable I wrapped it in a using. When I do this I sometimes can see the xml response in the browser (IE8) and sometimes it will just show me the following Errormessage:
The download of the specified resource has failed. Error processing resource 'http://localhost:8889/SimpleGetService/'.
Why does this occur? When I don't wrap it in a using, I never seem to get the error.