c#,服务器 - 信号桌面应用程序,使用http/https端口与大量数据进行通信
我一直在互联网上查看以查看客户/服务器通信可用的协议。我目前无法找到解决我的问题的耐用解决方案,也许看错了地方?
简而言之,今天我有一个桌面c#
,wpf
使用c#
使用wcf 和TCP。但是,TCP的使用要求外部用户需要在其公司中打开Firewall中的特定端口,以便能够使用该应用程序。事实证明,这是一个比预期的更大的挑战,因此我试图找到是否还有其他方法来执行通信。
我查看了Websockets
和signalr
使用http(s),但是我需要在协议上支持大量数据传输(有时是10MB)的数据传输,他们不喜欢它们' t似乎做得很好?
简而言之:
- 我需要使用HTTP(S)渠道的客户/服务器通信协议,并且在大量数据中也可以很好地执行。
由于与TCP相比,由于缺乏性能,这可能是不可能的任务?
I have been looking around the internet to see what protocols are available for the client/server communication. I'm currently not able to find a durable solution for my problem, maybe looking the wrong places ?
The problem in short is that today I have a desktop C#
, WPF
application that communicates with a C#
server application using WCF
and TCP on dedicated ports. However, the use of TCP requires that external users needs to open the specific ports in their companies firewall to be able to use the application. This proves to be a bigger challenge than expected and therefor I'm trying to find if there are other ways to perform the communication.
I looked at websockets
and signalr
which uses HTTP(S), however I need at protocol that supports large amounts (sometimes 10MB at startup) of data transfer, which they don't seem to do well?
In short:
- I need a protocol for client/server communication using the HTTP(s) channel and also performing well with larger amount of data.
This might be an impossible mission, due to lack of performance compared to TCP ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论