English 中文(简体)
轮 中的多流
原标题:Multiple streams in wcf
  • 时间:2010-01-14 10:07:45
  •  标签:
  • wcf
  • stream

I am trying upload multiple 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.

我如何这样做? 如果有的话,请提供一些代码样本。

Regards, Rune

问题回答

由于世界合作框架只允许单一流参数,我认为的唯一可能办法是将多个档案作为一流并入服务器,加上诸如档案名称等一些额外信息,按其附在上游的顺序排列。





相关问题
WCF DataMember Serializing questions

Ok, so I was part way through the long winded process of creating DTOs for sending my model over the wire and I don t feel like I m going down the right route. My issue is that most of the entities ...

Access WCF service on same server

I have a .NET website with a WCF service. How do I access the current operations context of my service? One possible work around is to just make a call to the service within the app...but that seems ...

WCF binding error

So I got into work early today and got the latest from source control. When I try to launch our ASP.NET application, I get this exception: "The binding at system.serviceModel/bindings/wsHttpBinding ...

The service operation requires a transaction to be flowed

I am facing strange issue with our WCF service. The same code was working fine until recently we added more OperationContracts(Web Methods). We have common 3 tier architecture. DAL (WCF) BLL Web ...

热门标签