What happens if I set HttpGetEnabled = false

前端 未结 2 1363
忘了有多久
忘了有多久 2020-12-14 19:28

I am confused with Metadata publish concept.

If in a WCF Service config file I had written :

  

        
2条回答
  •  不知归路
    2020-12-14 19:39

    You're adding a service reference, which generates a proxy based on Metadata Exchange (mex). The httpGetEnabled configuration lets you set an http endpoint that would allow a non-mex proxy to be generated using WSDL, such as a legacy .NET webservice proxy. They are different protocols, controlled by different settings. I believe if you were to have you could add a web service reference from .NET 2.0, which you would be unable to do using the configuration .

提交回复
热议问题