Inject own reply data in WCF restful service
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 ?
加载中,请稍侯......
精彩评论