我怎么能查询我的Windows应用程序从一个网站我的、应用程序、网站、我怎么能

2023-09-04 23:15:37 作者:浅暮流年

我试图想办法的有关我如何使用互联网作为通信线路创建2个机之间的通信。

I'm trying to figure something out regarding how I can create communication between 2 machines using the internet as the communication line.

创意

我想有一个窗口服务/应用程序,它知道如何与一个网站的第一个地方(这很容易),但自那时起,网站应查询该机器,并要求信息

I would like to have a windows service/application that know how to talk to a web site for the first place (that's easy) but since that time, the web site should query that machine and ask information.

场景

让我们想象一下,我在我的机器上安装这个应用程序,我成立了哪里,我怎么会有我的本地数据库,现在我希望能够使用网页来查询数据库。

Let's imagine that I install this application on my machine, I set up where and how I have my local database and now I want to be able to use a webpage to query that database.

协议

我想弄明白的 PPP (点对点 - 点)协议和想法是什么,我们与山洪经常使用......但我无法找到.NET下,这方面的消息

I'm trying to figure it out the PPP (Point-to-Point) protocol and the idea is something that we regularly use with torrents... but I can't find any information on this under .NET

提出

主要提出了这一切是可以很容易地人安装此应用程序(主要是Web服务),但为了避免教他们如何建立一个域名指向自己的服务器,以及搞清楚如何让刚刚安装的Web服务的终点......我想嘿,请安装和设置您的凭证,让我的配置的

The main propose for all of this is to make it easy to persons install this application (mainly a Web Service) but to avoid teach them how to set up a domain name to point to their server, as well figuring out how to get the endpoint of the just-installed web service... I would like to "Hey, please install and set your credentials, let the configuration with me"

有没有办法,我可以用它来创造这种环境的图书馆吗?

Is there any library that I can use to create such environment?

推荐答案

怎么样的对等API在.net中? http://msdn.microsoft.com/en-us/library /system.net.peertopeer.aspx

How about the peer-to-peer api in .net? http://msdn.microsoft.com/en-us/library/system.net.peertopeer.aspx