.Net Core 2.0 call to WCF client configuration
问题 I have a .NET Core 2.0 application and need to call a WCF client from one of its controllers, and pass the user credentials for authentication. Within the .net core app I created a reference for the WCF client using the Connected Services (WCF Web Service Reference Provider) and now in a process of configuring the call. Note that I can use the same endpoint form a 4.6 framework application without any problems. Here's my code: var binding = new BasicHttpBinding {Security = {Mode =