开发者

Multiple streams in wcf

I am trying upload multi开发者_StackOverflow社区ple files using WCF. Since WCF only supports one stream I need to join multiple file streams together on the client and pass this to the service. The files might be huge and cannot be buffered in memory.

How do I do this? Please show some code sample if you have.

Regards, Rune


Since WCF allows only single stream parameter the only possible way I see is to combine multiple files as one stream and pass to the server, plus some extra info like file names, their lengths in the order they appended into stream.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜