更新时间:2023-11-27 21:04:10
在你的web.config中添加:
< webServices >
< 协议 >
< remove 名称 = HttpPostLocalhost / >
< / protocols >
< / webServices >
将它放在< / system.web >
包含拒绝消息的webform,并在web.config中使用以下< web服务>
< wsdlhelpgenerator href = DenyBrowsing.aspx />
< / webservices > 跨度>
I have web service developed in .net. I want to hide web method parameters when .asmx is opened through browser?
In your web.config add this: <webServices> <protocols> <remove name="HttpPostLocalhost"/> </protocols> </webServices> Put it right above </system.web>
Hi,
Include a webform for deny message and Use following in web.config<webservices> <wsdlhelpgenerator href="DenyBrowsing.aspx" /> </webservices>