Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
鉴于客户端和服务器都需要了解有关被远程对象的所有信息,首先这种紧密耦合是否存在,其次.Net Remoting 可以以其他方式工作吗?
没有真正回答您的问题,但如果您想放松耦合,您可以将 WCF 的 NETTCP 绑定视为替代方案。客户端可以为实体创建代理 - 这样您就不需要在客户端和服务器之间共享任何程序集(尤其是实体)。