您会说 .Net 远程处理依赖于紧密耦合吗?

发布于 2024-09-14 15:58:18 字数 81 浏览 3 评论 0原文

鉴于客户端和服务器都需要了解有关被远程对象的一切,首先这种耦合是否紧密,其次.Net Remoting 可以以任何其他方式工作吗?

Given that both the client and the server need to know everything about the object being remoted, firstly is this tight coupling, and secondly can .Net Remoting work in any other way?

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

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

发布评论

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

评论(1

墨小沫ゞ 2024-09-21 15:58:18

没有真正回答您的问题,但如果您想放松耦合,您可以将 WCF 的 NETTCP 绑定视为替代方案。客户端可以为实体创建代理 - 这样您就不需要在客户端和服务器之间共享任何程序集(特别是实体)。

Not really answering your question, but if you want to loosen the coupling, you might look at WCF's NETTCP binding as an alternative. The client can create a proxy for the entities - this way you won't need to share any assemblies (notably Entities) between client and server.

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