阅读背景:

如何返回包装在cdata中的字符串?

来源:互联网 

I have a wcf service that returns a Type instance. Say MyObject. MyObject has a string property (say CDataString)that i want wcf to wrap in a cdata section (because I'm returning an html fragment in a string property). How the heck do i annotate MyObject.CDataString so that when WCF puts it on the wire its wrapped in a cdata section?I have a wcf service that returns a Type instan




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: