Search code examples
azurewsdlmetadataazure-cloud-services

Disable metadata publishing for Azure Cloud Service


How to disable Metadata publishing for an Azure Cloud Service?

I have looked in the .csdef file but there is no Configuration Element/Attribute for that.


Solution

  • It's still in the Web.config, that's how we do it as well. The way to do it in the web.config, for reference, is: In the system.web section, add

      <webServices>
          <protocols>
            <remove name="Documentation"/>
          </protocols>
        </webServices>