开发者

How to support XMLRPC bindings in WCF .Net 4 web service without tinyblogger example

开发者 https://www.devze.com 2023-02-03 00:05 出处:网络
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 TinyBlogEn

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.

0

精彩评论

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