XML-RPC calls in windows phone 7
I am trying to using wordpress xml-rpc on windows ph开发者_如何学编程one 7 but can't find any API's for making rpc calls. Does anyone know of any libraries or a way to do it.
Try using XML-RPC.NET which is a free library. Once you download the bundle, there is a CF (Compact Framework) version of the DLL - due to platform restrictions, you have to use this version.
Note, however, that (quote from the documentation):
6.11 Does XML-RPC.NET work with .Net Compact Framework?
The XML-RPC.NET distribution contains an assembly which provides support for the .NET Compact Framework: CookComputing.XmlRpc.CF.dll. Note that this is an experimental version and is mostly untested. Also, because the Compact Framework does not support reflection it is necessary to implement XML-RPC.NET proxies manully.
The XML-RPC.NET library version 3.0 is now compatible with Windows Phone 7 projects.
I believe XmlRpcProxyGen
doesn't exist in the Windows Phone library as the platform doesn't support the System.Reflection
classes.
精彩评论