我使用Windows Azure Blob存储和WCF REST服务一起上传带有块的大文件。通过使用WCF REST将块上载到Windows Azure Blob
我可以很容易地上传一个零件文件,但我必须找到一种方法来合并Azure Blob中的这些块。最佳做法是什么?
这是我的接口:
[OperationContract]
[WebInvoke(Method = "POST", UriTemplate="Upload?name={name}&chunk={chunk}&chunks={chunks}")]
int Upload(string name, string chunk, string chunks, Stream fileContents);