I have a large file that I have to send to the web api client ... Data is multi-part. The problem is that if the file is sent via an http request, it is quickly uploaded to webapi. For this request, the contents of the file are written directly through the request stream.
Where, as if the same file was sent via Httpclient (.net 4.5), the download is slow compared to the http web request. I am using multipartformdatacontent in async post HttpClient.
So, for large files we only need to use a web request? or are there any settings on Httpclient that speed up loading?
user2325247 Mar 06 '14 at 4:26 2014-03-06 04:26
source share