I have WCF service that is IIS-hosted and I have to send binary data (memory stream that is created by service) in intranet environment.
I use byte[] array
in service contract method at present with httpBinding. Though array is not too big (500 KB typically) I am worried about unicode overhead (asmx soap web-services had one, but I'm new to WCF).
What is the best practice to pass binary data with http binding? Can I use tcp/ip for IIS hosted WCF services?
Thank you in advance!