WCF 是否支持任何类型的恢复功能?

发布于 2024-07-08 04:05:39 字数 58 浏览 4 评论 0原文

我正在使用 WCF 将数据上传到服务器。

如果通讯失败,有什么办法可以恢复上传吗?

I am using WCF to upload data to a server.

If the communication fails, is there any way to resume the upload?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

舂唻埖巳落 2024-07-15 04:05:39

分块通道适合您的场景,尤其是在发送大消息时。

http://msdn.microsoft.com/en-us/library/aa717050。 ASPX

Chunking channel fits your scenario especially when sending large messages.

http://msdn.microsoft.com/en-us/library/aa717050.aspx

沙沙粒小 2024-07-15 04:05:39

是的,wsHttpBinding 协议支持所谓的“可靠会话”,可以捕获并处理间歇性网络中断。 发送者可能需要重新发送某些信息,但基本上,这将为您提供一定程度的安全性。

查看 Michele Leroux Bustamante 的 15 部分系列“WCF 从上到下”了解更多信息 - 分期付款不。 12 专门处理 可靠的消息传送

或者查看 MSDN WCF 中可靠消息传递简介

马克

Yes, the wsHttpBinding protocol supports what is called "reliable sessions", where intermittent network blackouts can be caught and handled. The sender might need to resend certain bits of the information, but basically, this will give you a certain level of safety.

Check out Michele Leroux Bustamante's 15-part series "WCF Top To Bottom" for more information - installment no. 12 deals specifically with Reliable Messaging.

Or check out the MSDN introduction to reliable messaging in WCF.

Marc

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文