开发者

With C# documentation tags is it possible to persist them through a webservice?

With C# docum开发者_开发知识库entation tags is it possible to persist them through a webservice so that the webclient that consumes the webservice will display them via the intellisense?

Any information on this would be greatly appreciated.

Thanks.

Rick


With C# documentation tags is it possible to persist them through a webservice so that the webclient that consumes the webservice will display them via the intellisense?

No, the webservices do not push the xml document comments from the .net code.


The easiest way to get intellisense in this situation would be to distribute a client access bindings library with the code comments compiled into an xml file. (i.e. WebServiceAccessLib.dll and WebServiceAccessLib.xml)


A good question. It is certainly not possible out of the box but I don't know feasible it would be to hook into the process the generates the WSDL for the service and add annotation's to the WSDL. You would also need a proxy generator on the client side to pick up those annotation or documentaion tags when generating the proxy objects.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜