Darin Dimitrov answered a question about supporting XMLRPC interface (bindings) under a WCF .net web service. In his response, he explained to add references to Microsoft.Samples.XmlRpc and TinyBlogEngine.
Why is the TinyBlogEngine engine needed? How can I take a worki开发者_StackOverflow中文版ng .net 4 WCF web service and add support for XMLRPC without making it a blog application?
Why is the TinyBlogEngine engine needed?
TinyBlogEngine
simply contains the WCF web service code which you could replace with any implementation you like (blog or whatever). This could be an existing web service you already have. Microsoft.Samples.XmlRpc
is what enables a XML RPC binding to an existing WCF service. You just need to have this XmlRpcEndpointBehaviorExtension
I've shown in the post if you want to be able to configure the RPC binding via web.config.
精彩评论