向 WCF/.Net 的 WSDL 输出添加注释 [英] Adding comments to a WSDL output from WCF/.Net
本文介绍了向 WCF/.Net 的 WSDL 输出添加注释的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
基于 W3 的 WSDL 规范,可以在 WSDL 输出中添加wsdl:document"标签,以便使用该网络服务的人对这个网络服务有更好的解释/文档.
based on the WSDL spec from W3 there is the possibility to add "wsdl:document" tags to the WSDL output so that people using that webservice have a better explanation/documentation about this webservice.
有谁知道如何让 WCF 使用这些注释/描述,或者如何用 C# 编写将这些注释作为 wsdl 的一部分导出的代码?
Does anybody know how to make WCF use these comments/descriptions, or how to write the code in C# that those comments are exported as part of the wsdl?
谢谢,迈克尔
推荐答案
看来社区项目 WCFExtras 在 GitHub 上提供了解决 .NET 3.5 限制的方法.
It seems that the community project WCFExtras on GitHub provides a work-around the limitations of .NET 3.5.
这篇关于向 WCF/.Net 的 WSDL 输出添加注释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文