I have a web service method definition like so:
[WebMethod]
public void UploadFiles(List<FileClass> files)
In my client application, I have a large array that I need to pass into the web service like so:
client.UploadFiles(fileClassArray);
I would not want to use maxRequestLength
, I've also read about Buffer.BlockCopy
but I'm having problems with my destination array that could possibly change the web service method definition.
How do I pass this large array into the web service in chunks? Or what's the proper way to stream this array?