[英]Calling php scripts from windows phone 8 (C#)
I'm working on a windows phone 8 project. 我正在Windows Phone 8项目中工作。 I want to connect to the database (MongoDB) which is hosted somewhere.
我想连接到托管在某个地方的数据库(MongoDB)。 with out calling directly to the database, I'm calling through a php API .(basically each operation has separate php scripts).
无需直接调用数据库,而是通过php API进行调用 。(基本上每个操作都有单独的php脚本)。
So I want to make C# send a request to PHP scripts running at the webserver and make PHP return data to windows phone application through internet. 所以我想让C#向Web服务器上运行的PHP脚本发送请求,并使PHP通过Internet将数据返回到Windows Phone应用程序。
Can anybody please tell me how to do this. 谁能告诉我该怎么做。
Please suggest any online links or tutorials or your own idea. 请提出任何在线链接或教程或您自己的想法。
您可以从这里获得参考: 如何在Windows Phone 8中调用基于PHP的Web服务。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.