CassiniDev and multi-part requests. Request.Files is null

Dec 10, 2012 at 1:48 PM
Edited Dec 10, 2012 at 1:49 PM

I have written an integration test which does a multi-part POST request with file attached. I have an WCF REST templated service running in CassiniDev. It is running with AspNetCompatibilityRequirements set to true.

I am able to retrieve all the Request.Form values without any problem, but Request.Files is always null. But when I check the stream object which is passed into the WCF method, it has all data in it. When I run this on IIS, all works fine.

Any idea why Request.Files returning null?


PS: I did verify that my multi-part request is syntactically correct. Also I tried posting using Fiddler, still no luck.