摘要:
1.定义接口:[ServiceContract]publicinterface IUploadService{ [OperationContract] [WebInvoke(Method ="POST", UriTemplate ="/Create")] string Create(Stream stream);} 2.实现服务:publicclass UploadService: IUploadService{ publicstring Create(Stream stream) { //TODO: manipul... 阅读全文