simpleworkerrequest

Upload File with SimpleWorkerRequest in Request.Files

I'm trying to create some tests for aspx pages. I started with this link. Now, there's a way to add a file (image in my case) to the postdata by overriding public override string GetKnownRequestHeader(int index) from SimpleWorkerRequest. However, in my HttpHandler (instead of aspx page), the file isn't in the Request.Files. Is there ...

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 that there might be some sort of registry key or config file where I can configure custom mi...

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 than just inherit from SimpleWorkerRequest? Is there any more detailed information about...