DotNetCore调用Wcf
安装dotnet-svcutil
1 | dotnet tool install --global dotnet-svcutil |
生成
1 | dotnet-svcutil --outputFile Test1Information.cs -n "http://tempuri.org/,API.ServiceReference.Services1" --outputDir Services1 http://172.2.22.12/FRXXServices/Services1.asmx |
参考: