0

我用谷歌搜索了很多这个问题,我有点困惑。我需要将图像从 Iphone 上传到 WCF 服务。我已经有一个正在工作的 WCF,它以“流”模式接收图像。但我在某处读到必须使用 REST WCF 才能在 iphone 上工作。我应该怎么办?谢谢

4

1 回答 1

0

If you're uploading a image "as is" from the iPhone, I imagine that you're already using the REST mode in WCF to do that. If your service endpoint uses the webHttpBinding and has a webHttpBehavior added to it, then you're already in the "WCF REST" realm (the official name is "WCF WebHTTP Endpoints", but it's more known as WCF REST endpoints).

Even if you're not using WCF REST, if what you have is working for you, then you're fine.

于 2012-04-26T18:35:04.837 回答