【发布时间】:2013-08-12 10:47:52
【问题描述】:
因为我是 WCF 的新手,并且在 IIS 中的 Virtual Directory Api 中配置了 WCF 服务端点(网址类似于
http://localhost/api/taskapi.svc)
我一直在寻找通过网络浏览器发出请求的方法,例如
http://localhost/api/taskapi.svc/GetCompleted
会以返回的数据进行响应。我知道这需要将 Web 服务与 webHttpBinding 绑定,但我不知道该怎么做,有什么帮助会很好吗?
【问题讨论】:
-
您的问题是“如何使用 webHttpBinding 制作 WCF 服务”?如果是这样,您尝试过什么?如果你用谷歌搜索“使用 webhttpbinding”,网络上有完整的示例
标签: wcf web-services wcf-binding