Reputation: 6644
I have to upload file from a WPF application to the server. Following are the methods i tried
Any idea which one would be better and faster? The application is hosted on .Net 4.0 ,IIS 6
Upvotes: 0
Views: 598
Reputation: 1824
If faster means better, you should be using the mechanism with the least overhead. I would expect that to be WCF or REST streamed mode.
If security and reliability is of importance, you should consider a buffered/chunked mode instead.
Upvotes: 1