This project is read-only.

WebApi 2.1 ReadAsMultipartAsync uses a lot of CPU

Topics: ASP.NET Web API
Jan 30, 2014 at 6:19 PM
I have noticed, at least since 2.1, that ReadAsMultipartAsync uses a lot more CPU to handle a upload than before. It's admittedly anecdotal, but it seems odd to see the CPU spike up and down from 10% to 25% to handle a single file upload -- particularly since it's an async operation.

I'm not sure if this is related to my previous post about ReadAsMultipartAsync saving files to two locations at once. If you need any examples let me know.