开发者

svcutil and Description attribute

开发者 https://www.devze.com 2023-04-03 07:36 出处:网络
When I use SvcUtil to generate the client-side class it does not include the \"Description\" attrib开发者_Go百科ute from the server-side class.

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

精彩评论

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