WCF - Streaming file upload over http
问题 I am trying to build a WCF service that will allow my WPF desktop clients to upload files to a server. I adapted a code sample from The Code Project (WCF Streaming: Upload/Download Files Over HTTP) and I've looked at several SO posts as well, but can't seem to get this working. When I execute the code, it fails with a null reference exception at the point that the server tries to read the stream that has been passed through the interface. At this point, I am rather lost and don't know how to