<p>I have used IPC in Win32 code a while ago - critical sections, events, and semaphores.</p>
<p>How is the scene in the .NET environment?
Are there any tutorial explaining all available options and when to use and why?</p>

[{'answer_id': 56135, 'author': 'aku', 'author_id': 1196, 'author_profile': 'https://Stackoverflow.com/users/1196', 'pm_score': 6, 'selected': True, 'text': '<p>Most recent Microsoft\'s stuff in IPC is <a href="http://en.wikipedia.org/wiki/Windows_Communication_Foundation" rel="noreferrer">Windows Communication Foundation</a>. Actually there is nothing new in the lower level (tcp, upd, named pipes etc) But WCF simplifies IPC development greatly.</p>\n\n<p>Useful resource:</p>\n\n<ul>\n<li><a href="http://www.ddj.com/windows/196802111" rel="noreferrer">Interprocess Communication with WCF</a> on Dr. Dobb\'s portal</li>\n<li><a href="http://www.infoq.com/news/2008/01/wcf-comm-options" rel="noreferrer">WCF Communication Options in the .NET Framework 3.5</a></li>\n</ul>\n\n<p>and of course <a href="http://msdn.microsoft.com/en-us/netframework/aa663324.aspx" rel="noreferrer">MSDN on WCF</a></p>\n'}, {'answer_id': 56137, 'author': 'ibz', 'author_id': 5475, 'author_profile': 'https://Stackoverflow.com/users/5475', 'pm_score': 2, 'selected': False, 'text': '<p>There is also .NET Remoting, which I found quite cool, but I guess they are obsoleting it now that they have WCF.</p>\n'}, {'answer_id': 56180, 'author': 'Serafina Brocious', 'author_id': 4977, 'author_profile': 'https://Stackoverflow.com/users/4977', 'pm_score': 3, 'selected': False, 'text': "<p>I tend to use named pipes or Unix sockets (depending on whether I'm targetting MS.NET or Mono -- I have a class that abstracts it away) since it's easy to use, portable, and allows me to easily interoperate with unmanaged code.  That said, if you're only dealing with managed code, go with WCF or remoting -- the latter if you need Mono support, since their WCF support simply isn't there yet.</p>\n"}, {'answer_id': 56238, 'author': 'Kent Boogaart', 'author_id': 5380, 'author_profile': 'https://Stackoverflow.com/users/5380', 'pm_score': 2, 'selected': False, 'text': '<p>It sounds as though you\'re interested in synchronization techniques rather than communication. If so, you might like to start <a href="http://msdn.microsoft.com/en-us/library/ms228964.aspx" rel="nofollow noreferrer">here</a>, or perhaps this more <a href="http://marekblog.wordpress.com/2007/02/05/net-framework-synchronization-primitives/" rel="nofollow noreferrer">concise overview</a>.</p>\n'}, {'answer_id': 7572606, 'author': 'Deleted', 'author_id': 436005, 'author_profile': 'https://Stackoverflow.com/users/436005', 'pm_score': 4, 'selected': False, 'text': '<p>Apart from the obvious (WCF), there is a ZeroMQ binding for C#/CLR which is pretty good:</p>\n\n<p><a href="http://www.zeromq.org/bindings:clr" rel="noreferrer">http://www.zeromq.org/bindings:clr</a></p>\n\n<p>Does message-oriented IPC, pub/sub and various other strategies with much less code and config than WCF.</p>\n\n<p>It\'s also at least an order of magnitude faster than anything else and has less latency if you require low latency comms.</p>\n\n<p>With respects to semaphores, locks, mutexes etc.  If you share by communicating rather than communicate by sharing, you\'ll have a whole load less hassle than the traditional paradigm.</p>\n'}, {'answer_id': 8712886, 'author': 'Demir', 'author_id': 542623, 'author_profile': 'https://Stackoverflow.com/users/542623', 'pm_score': 3, 'selected': False, 'text': '<p>I would recommend using Memory Mapped Files if you need to use on the machine domain not communication through network. See the following link.</p>\n\n<p><a href="http://techmikael.blogspot.com/2010/02/blazing-fast-ipc-in-net-4-wcf-vs.html" rel="noreferrer">http://techmikael.blogspot.com/2010/02/blazing-fast-ipc-in-net-4-wcf-vs.html</a></p>\n'}]
['https://Stackoverflow.com/questions/56121', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/123/']