How could I query my windows application from a website

≯℡__Kan透↙ 提交于 2020-01-03 00:59:07

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/6924814/how-could-i-query-my-windows-application-from-a-website

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!