Would you say .Net remoting relies on tight coupling?

我是研究僧i 提交于 2019-12-12 19:49:57

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/3474614/would-you-say-net-remoting-relies-on-tight-coupling

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!