WCF not using computer name instead of domain name when viewing MyService.svc?wsdl

后端 未结 13 1315
迷失自我
迷失自我 2020-12-13 02:31

My WCF serice seems to be using the computer-name instead of the domain name. When I view the MyService.svc?wsdl link it is showing my computer name.

Wh

13条回答
  •  萌比男神i
    2020-12-13 02:51

    We're using WCFExtras to change the name of the host.

    WCFExtras is a small open source library that will allow you to write the following to change the host name:

    
      
        
          
        
      ...
    

提交回复
热议问题