简体   繁体   English

如何使用WCF C#通过Internet传输对象p2p

[英]How to transfer an object p2p via internet using WCF C#

How to transfer an object p2p via internet using WCF C#? 如何使用WCF C#通过Internet传输对象p2p?

I have an .NET desktop application which is running on 2 different computers which are located in different countries . 我有一个.NET桌面应用程序,它在不同国家的2台不同的计算机上运行。 But now I want to transfer a object from one application to another using WCF . 但是现在我想使用WCF将对象从一个应用程序转移到另一个应用程序。

is there any way to transfer an object from one application to another application via internet using WCF C# 有什么方法可以使用WCF C#通过互联网将对象从一个应用程序转移到另一个应用程序

I mean, for that where should I host the WCF service and is this done by WCF callback service? 我的意思是,为此,我应该在哪里托管WCF服务,这是由WCF回调服务完成的?

Here is a pretty detailed article on using Peer-to-Peer programming with wcf and .NET Framework 3.5. 是有关将对等编程与wcf和.NET Framework 3.5一起使用的非常详细的文章。

With a little work you could probably tie a SignalR client into your Winforms app. 只需做一些工作,您就可以将SignalR客户端绑定到Winforms应用程序中。 I have never tried to wire up a signal R client in a library. 我从未尝试在库中连接信号R客户端。 SignalR was designed for p2p and it may offer more functionality depending on your requirements. SignalR专为p2p设计,根据您的要求,它可能提供更多功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM