【发布时间】:2019-05-01 04:12:01
【问题描述】:
需要从我在 web api 中的 get 方法之一调用 asmx 服务。我们该怎么做?我们可以在 appsettings 中添加一个配置条目到 asmx 服务 url 并从 web api get mehod 中调用它吗?
网络配置应用设置条目:
key="myOldWebservice" value = "http://testAPI/webservice/client.asmx"/>
【问题讨论】:
标签: c# asp.net-web-api asmx