开发者

How to hide wsdl information on WCF?

开发者 https://www.devze.com 2023-03-15 22:12 出处:网络
I thought that dele开发者_如何学Cting of endpoint with \'IMetadataExchange\' is enough. I did that but wsdl file is still generated...

I thought that dele开发者_如何学Cting of endpoint with 'IMetadataExchange' is enough. I did that but wsdl file is still generated...

How to hide wsdl information on WCF?

P.S. Probably my question is not valid (I don't understand WCF too deep), so please correct me.


Your service's behavior configuration most probably contains:

<serviceMetadata httpGetEnabled="true" />

Remove serviceMetadata behavior from your service configuration or turn its httpGetEnabled to false.

0

精彩评论

暂无评论...
验证码 换一张
取 消