Hi
I have theoretical problem. In my web service project there was a need
to implement file download/upload using WS. I have created UploadChunk
and DownloadChunk methods which transfer files in chunks - consecutive
web method calls. The problem is, that when i am testing this approach
it seems that the transfer time ( many file sizes ) takes twice long,
comparing to when the transfer is stream based using regular
HttpWebRequest/response.
I'd like to ask you, if this is good practice to use stream based
approach in web services? If so, how should they be implemented?
Kind Regards
PK
I have theoretical problem. In my web service project there was a need
to implement file download/upload using WS. I have created UploadChunk
and DownloadChunk methods which transfer files in chunks - consecutive
web method calls. The problem is, that when i am testing this approach
it seems that the transfer time ( many file sizes ) takes twice long,
comparing to when the transfer is stream based using regular
HttpWebRequest/response.
I'd like to ask you, if this is good practice to use stream based
approach in web services? If so, how should they be implemented?
Kind Regards
PK
Comment