turn off web service test page on localhost
Ho开发者_如何学Cw can I turn off the HTTP POST test page that is created automatically for web services?
I'd prefer that it not come up if someone enters the .asmx path.
<webServices>
<protocols>
<remove name="HttpGet"/>
<remove name="HttpPost"/>
<remove name="HttpPostLocalhost"/>
</protocols>
</webServices>
This should do it.
精彩评论