C# 中的 IPC 机制 - 使用和最佳实践 [英] IPC Mechanisms in C# - Usage and Best Practices

查看:28
本文介绍了C# 中的 IPC 机制 - 使用和最佳实践的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不久前在 Win32 代码中使用过 IPC - 临界区、事件和信号量.

I have used IPC in Win32 code a while ago - critical sections, events, and semaphores.

.NET 环境中的场景如何?是否有任何教程解释所有可用选项以及何时使用以及为什么?

How is the scene in the .NET environment? Are there any tutorial explaining all available options and when to use and why?

推荐答案

Microsoft 在 IPC 中的最新内容是 Windows通信基础.其实底层没有什么新东西(tcp、upd、命名管道等)但是WCF大大简化了IPC的开发.

Most recent Microsoft's stuff in IPC is Windows Communication Foundation. Actually there is nothing new in the lower level (tcp, upd, named pipes etc) But WCF simplifies IPC development greatly.

有用的资源:

  • Interprocess Communication with WCF on Dr. Dobb's portal
  • WCF Communication Options in the .NET Framework 3.5

当然还有 WCF 上的 MSDN

这篇关于C# 中的 IPC 机制 - 使用和最佳实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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