开发者

svcutil and Description attribute

When I use SvcUtil to generate the client-side class it does not include the "Description" attrib开发者_Go百科ute from the server-side class.

How to do this ?


Unfortunately, you'll be doing a lot of "heavy lifting" to include documentation in generated client code. SvcUtil does not support generating description/documentation from the WSDL.

To accomplish this manually, you need to implement a custom WSDL importer as shown in this good MSDN article on the subject. Lucky, there is a code sample in the WCF 4 code samples library showing how its done.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜