开发者

Inject own reply data in WCF restful service

开发者 https://www.devze.com 2023-04-05 14:03 出处:网络
I want to use the content negotiation feature of restful WCF and when content-type==text/xml then return own my html data reply rather than the data that would be normally returned.

I want to use the content negotiation feature of restful WCF and when content-type==text/xml then return own my html data reply rather than the data that would be normally returned.

I think that it could be done when implemen开发者_JAVA技巧ting IDispatchMessageFormatter and SerializeReply method.

Do You know other method to do this ?

0

精彩评论

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