How to consume a web service using .NET Core 2.0 Connected Services
问题 I have created a service called GetReportService. My endpoint is http://xxx1/usa/report.asmx. I am using POST passing a parameter id123. How do I invoke this web service using a web api in .NET Core 2.0? 回答1: I figured out that the connected service option is a WCF service so I am able to consume the service as I normally would in previous versions of .NET. However, in .NET Core if I want to inject that service, I do have to go to the Startup.cs file and add my service in the