How to configure WCF services to work through HTTPS without HTTP binding?

前端 未结 3 403
不思量自难忘°
不思量自难忘° 2020-12-30 02:17

I have configured my WCF services to work with SSL but it works ONLY if the HTTP binding exists in the IIS Web Site. When the HTTP binding not exists and exists only HTTPS b

3条回答
  •  庸人自扰
    2020-12-30 03:06

          
    

    Since you set httpGetEnabled to true, you need to provide a http address. And HTTP binding is a way to provide address. So if you remove it, you need to find another way to provide address. Following are two ways to provide addresses.

    HttpGetUrl :

     
    

    HTTP base address:

     
        
           
        
     
    

提交回复
热议问题