简体   繁体   English

尝试连接WebAPI ASP.NET Core和WCF服务时出错

[英]Error when trying to connect WebAPI ASP.NET Core and WCF service

I have a WebAPI done with ASP.NET Core that must communicate with an external WCF service that is published in IIS 6.1, but when I try to add a connection to a WCF service with Visual Studio 2015 wizard me the error message: 我使用ASP.NET Core完成了一个WebAPI,该API必须与IIS 6.1中发布的外部WCF服务进行通信,但是当我尝试使用Visual Studio 2015向导向WCF服务添加连接时,出现错误消息:

步骤向导

这是错误消息

Have you tried to add this MIME-TYPE to the IIS configuration? 您是否尝试过将此MIME-TYPE添加到IIS配置中? Quick way of verifying would be to use Postman to simulate your request to the backend. 验证的快速方法是使用Postman模拟您对后端的请求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM