c#,服务器 - 信号桌面应用程序,使用http/https端口与大量数据进行通信

发布于 2025-02-13 02:15:38 字数 509 浏览 1 评论 0原文

我一直在互联网上查看以查看客户/服务器通信可用的协议。我目前无法找到解决我的问题的耐用解决方案,也许看错了地方?

简而言之,今天我有一个桌面c#wpf使用c#使用wcf 和TCP。但是,TCP的使用要求外部用户需要在其公司中打开Firewall中的特定端口,以便能够使用该应用程序。事实证明,这是一个比预期的更大的挑战,因此我试图找到是否还有其他方法来执行通信。

我查看了Websocketssignalr使用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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文