摘要: 1.定义接口:[ServiceContract]publicinterface IUploadService{ [OperationContract] [WebInvoke(Method ="POST", UriTemplate ="/Create")] string Create(Stream stream);} 2.实现服务:publicclass UploadService: IUploadService{ publicstring Create(Stream stream) { //TODO: manipul... 阅读全文
posted @ 2011-08-02 17:58 _龙猫 阅读(2308) 评论(0) 推荐(0) 编辑