Ankit
Ankit

Reputation: 6644

File upload from a WPF application

I have to upload file from a WPF application to the server. Following are the methods i tried

  1. HTTPHandler
  2. WCF
  3. REST

Any idea which one would be better and faster? The application is hosted on .Net 4.0 ,IIS 6

Upvotes: 0

Views: 598

Answers (1)

Nils Magne Lunde
Nils Magne Lunde

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

Related Questions