【问题标题】:WCF Rest Service Reference in ASP.net core 3.1 APIASP.net core 3.1 API 中的 WCF Rest 服务参考
【发布时间】:2021-01-29 15:49:54
【问题描述】:

我创建了一个 WCF Restful 服务(框架 4.7.2)并在 IIS 服务器中托管该服务。我想在 ASP.net core 3.1 Api 上添加服务。通过连接的服务添加它时确实会失败。 wcf 服务的端点带有 webhttpbinding.error 任何帮助将不胜感激..

【问题讨论】:

  • 您好,问题解决了吗?如果我的回复对您有帮助,您可以将其标记为答案。

标签: wcf asp.net-web-api


【解决方案1】:

Core不支持webhttpbinding,wcf只支持BasicHttpBinding、CustomBinding、NetHttpBinding、NetTcpBinding:

所以目前有两种解决方案:

修改服务器的绑定,不要使用webhttpbinding。

客户端继续使用 .net 框架。

如果问题仍然存在,请随时告诉我。

【讨论】:

    猜你喜欢
    • 2020-10-22
    • 1970-01-01
    • 2015-04-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-09-28
    • 1970-01-01
    相关资源
    最近更新 更多