Questions tagged [simpleworkerrequest]
3 questions
4
votes
1 answer
Implementing HttpWorkerRequest
I'm implementing a HttpWorkerRequest in order to be able to render Asp.Net web pages outside of IIS, and I'm looking for some documentation / advice on this in particular:
When might it be appropriate to implement HttpWorkerRequest directly, rather…

Justin
- 84,773
- 49
- 224
- 367
3
votes
2 answers
How does SimpleWorkerRequest associate MIME types with extensions?
I was serving html referencing svg files in Cassini, and having problems since the mime type was not being sent properly. I ended up writing my own port of Cassini that set the extension based on mime type.
After a good night of sleep I realized…

Justin Dearing
- 14,270
- 22
- 88
- 161
1
vote
0 answers
SimpleWorkerRequest.SendResponseFromMemory. Bytes read from WebClient.DownloadData do not match
I am trying to serialize an object and send it over the web. I can serialize and immediately deserialize the object just fine. However, when I try to send the bytes over HTTP using this on the server side:
byte[] b =…

RichardJohnn
- 654
- 9
- 24