How to set proxy credentials to specific wcf client?

后端 未结 3 998
渐次进展
渐次进展 2020-12-29 06:14

I need to connect to some public wcf service, but there is some proxy between me and service. If i use default proxy settings such as


  &l         


        
3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-29 06:27

    I found a solution. You have to update WCF to the latest.

    Go to NuGet Package Manager -> Update all related Project URL of WCF There must be:

    System.ServiceModel.Security
    System.ServiceModel.NetTcp
    System.ServiceModel.Http
    

    This apply to .net core 2.1 version.

提交回复
热议问题