Tuesday 19 April 2016

How to disable web services help WSDL of .asmx in Asp.net? [Solved]

We have a service page in my application, but we don't want to expose it to publicly, what should i do?
We want to stop these pages to browse on browser directly.

Solution: To disable the service help page for an individual Web application, you can make change in your application web.config
file. like this

          <remove name="Documentation" />

More on official MSDN page