I would like to send binary data (files from a document management system) over an ASP.NET Web service. I am programming in C#. I assume I would have to use a stream and convert it to a byte array and pass that. Possibly not the most efficient way because of the encoding overhead? The files could be quite big which also could be a problem. I have also heard of DIME, but not looked into it so far.
Appreciate any suggestions and experience with this.