你会说.Net远程依赖于紧耦合? [英] Would you say .Net remoting relies on tight coupling?

查看:163
本文介绍了你会说.Net远程依赖于紧耦合?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于客户端和服务器需要知道的所有的有关对象被远程的,首先是这种紧耦合,二来可以.NET远程工作以任何其他方式?

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?

推荐答案

没有真正回答你的问题,但如果你想放松的耦合,你可能看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.

这篇关于你会说.Net远程依赖于紧耦合?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆