PHP和DOTNET交互 [英] PHP and DOTNET Interactivity

查看:82
本文介绍了PHP和DOTNET交互的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

人们,

坦率地说,我想与DotNet客户端中的Web服务器进行交互. Web服务器是Postgre Server,服务器端脚本语言是PHP. DotNet客户端是用C#构建的.我实际上是这种概念的新手,所以我想知道它是否确实可行.现在已经快两天了,我无法提出任何可靠的解决方案.如果有人可以指导我解决这个问题,我将非常感谢.

在此先感谢
:):)

Hi People,

Let me be straight, I want to interact with a webserver from a DotNet Client. The web server is a Postgre Server and the server-side scripting language is PHP. The DotNet client is built in C#. I am actually new to this type of a concept so I was wondering whether it is actually possible or not. Its almost 2days now that I am not able to come up with any solid solution. I will be very much thankful if anyone can guide me out of this problem.

Thanks in advance
:) :)

推荐答案

没有理由不起作用.如果PHP脚本返回XML,没问题,只需从URI加载XML并显示/处理它即可.如果PHP支持通过URL进行某种命令,则设置一些Web请求并将其绑定到命令/按钮.

如果您使用的是WinForms应用,WPF或Silverlight,则有很多具体示例.与来自ASP.NET的相同.

您打了什么特别的路障(如果有的话)?
There is no reason it won''t work. If the PHP script is returning XML, no problem, just load the XML from the URI and display/process it. If the PHP supports some kind of commanding through URLs, then setup some web requests and tie them to commands/buttons.

If you''re working in a WinForms app, WPF or Silverlight, there are lots of specific examples. Same with from ASP.NET.

What particular roadblock did you hit (if any)?


这篇关于PHP和DOTNET交互的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆