Q:

File upload from a WPF application

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

HTTPHandler
WCF
REST

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

A:

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. 

