I had done some research but it's beyond my understanding. I try to catch the request/response with fiddler.
I made some progress to get the file:
public HttpResponseMessage Get(int id)
{
byte[] content = null;
using (FileStream fs = File.Open(@"d:\some.docx", FileMode.Open))
{
content...
I just discovered that every request in an ASP.Net web application gets a Session lock at the beginning of a request, and then releases it at the end of the request!
In case the implications of this are lost on you, as it was for me at first, this basically means the following:
Anytime an ASP....