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.
精彩评论