.net n 层/分布式编程技术

发布于 2024-08-05 00:17:03 字数 112 浏览 2 评论 0原文

如果想学习如何在 .net 中编写 n 层/分布式应用程序,我应该从 COM+/Remoting/Web Services/WCF 开始学习什么技术?

这些技术是互补的还是互斥的,互补程度如何?

If want to learn how to program n-Tiered/Distributed applications in .net, what technology should I start my learning with COM+/Remoting/Web Services/WCF?

Are these technologies complementary or exclusive and to what degree?

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

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

发布评论

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

评论(2

若有似无的小暗淡 2024-08-12 00:17:03

COM+/远程处理已经过时了。失去他们。

Web 服务和 WCF 是一种可行的方法。

N层和分布式有不同的侧重点。

N 层意味着您将应用程序分为几个层,通常是表示+业务逻辑+数据访问。

分布式处理应用程序组件的分布式性质。它可能与分布式硬件基础设施或概念分布有关,您需要编排数据源和服务来制定您的应用程序并在其他服务之上提供您自己的服务。

这实际上是一个非常广泛且有些模糊的话题。谈话可能会持续数年。

COM+/Remoting are old. Lose them.

Web services and WCF are a way to go.

N-tiered and distributed have different focus.

N-tiered means you separate your application is several layers, usually it's a presentation + business logic + data access.

Distributed deals with a distributed nature of your application components. It may have something to do with the distributed hardware infrastructure or with the conceptual distribution, the data sources and services you need to orchestrate to enact your application and provide your own services on top of others.

it's actually a very broad and somewhat vague topic. The talk could go on for years.

沐歌 2024-08-12 00:17:03

WCF 是主要主题,它以一种或另一种形式包含所有其他主题。

  • (D)COM(+) 是一个“遗留”接口,您不想用它构建一个新系统。
  • Remoting 已溶解到 WCF 中,您将不再将其视为一个名称。具有二进制格式和 TCP 绑定的 WCF 取代了它。
  • Web 服务(WSDL、SOAP)集成到 WCF 中。它是在 WCF 中通过 SOAP 格式和 HTTP 绑定实现的。

WCF is the main topic, it enfolds all the others in one form or another.

  • (D)COM(+) is a 'legacy' interface, you don't want to build a new system with that.
  • Remoting is dissolved into WCF, you won't see it as a name anymore. WCF with binary formatting and TCP binding replaces it.
  • Web Services (WSDL, SOAP) are integrated into WCF. It is implemented in WCF with SOAP formatting and HTTP binding.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文