编辑 ASMX Web 服务登陆页面措辞/信息?
有没有办法编辑/添加一些信息到 asmx Web 服务页面?我想添加一些对服务有帮助的外部文件的链接。目前,它显示的是这样的:
我的网络服务
以下操作是 支持。对于正式的定义, 请查看服务说明。
测试方法
我想在“TetsMethod
”之后添加一个链接。谢谢。
Is there a way to edit/add some information to the asmx web service page? I would like to add some links to some external files that is helpful for the service. Currently, it's displaying something like this:
My Web Services
The following operations are
supported. For a formal definition,
please review the Service Description.TestMethod
I would like to add a link after the "TetsMethod
". Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了同样的问题,发现 web.config 中的 wsdlHelpGenerator 元素可以帮助我。
https://msdn.microsoft.com/en -us/library/ycx1yf7k(v=vs.100).aspx
我获取了生成的帮助页面的源代码,手动编辑了我需要的内容,并将其保存为静态 html 文件,然后我将其挂接直到 wsdlHelpGenerator 元素:
I also needed to add the following to my system.web section:
I was facing the same problem and found the wsdlHelpGenerator element in web.config could help me out.
https://msdn.microsoft.com/en-us/library/ycx1yf7k(v=vs.100).aspx
I took the source code of the generated help page, hand edited what I needed into it, and saved it as a static html file that I then hooked up to the wsdlHelpGenerator element:
I also needed to add the following to my system.web section: