我如何从网站查询我的 Windows 应用程序
我正在尝试弄清楚如何使用互联网作为通信线路在两台机器之间创建通信。
想法
我想要一个 Windows 服务/应用程序,首先知道如何与网站通信(这很简单),但从那时起,网站应该查询该机器并询问信息。
场景
假设我在计算机上安装了此应用程序,设置了本地数据库的位置和方式,现在我希望能够使用网页来查询该数据库。
协议
我正在尝试弄清楚PPP (点对点)协议,这个想法是我们经常在 torrent 中使用的东西......但我在 .NET 下找不到任何关于此的信息
提议
主要提议所有这一切都是为了让人们很容易安装此应用程序(主要是 Web 服务),但要避免教他们如何设置指向其服务器的域名,以及如何获取刚刚安装的 Web 服务的端点...我想“嘿,请安装并设置您的凭据,让我进行配置”
是否有任何库可以用来创建这样的环境?
I'm trying to figure something out regarding how I can create communication between 2 machines using the internet as the communication line.
Idea
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.
Scenario
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.
Protocols
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
Propose
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
.net 中的点对点 api 怎么样?
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