0

在我的 WCF 服务中,我将收到来自移动应用程序的图像附件。我不知道如何编写代码。如果您能转发一些示例和代码,我将不胜感激。我是 WCF 的新手。

    [OperationContract]
    [WebInvoke(UriTemplate = "/SaveAttachment",
              Method = "POST",
               RequestFormat = WebMessageFormat.Json,
               ResponseFormat = WebMessageFormat.Json)]
    ReturnSaveAttacmentStatus SaveAttachment(DomainName,TimeSheetID, ImageFIle);
4

1 回答 1

0

您可以在 git hub 上查看这里,我编写了一个应用程序,该应用程序如何使用示例应用程序将图像从 android 手机上传到 wcf 服务

于 2015-02-22T13:01:09.943 回答