title: Is .NET Remoting really deprecated?
body: <p>Everyone is saying how .NET Remoting is being replaced by WCF, but I'm wondering just how accurate that is. I haven't seen any official word that Remoting is being deprecated, and it seems to me there are certainly scenarios where Remoting makes more sense than WCF. None of the Remoting-related objects or methods have been deprecated, even in version 4.0 of the framework. It is also my understanding that System.AddIn in the 3.5 and 4.0 frameworks use Remoting.</p>
  <p>Does anyone have any official word to the contrary?</p>
  <p>In the article, <a href="http://msdn.microsoft.com/en-us/library/8119f66k%28VS.85%29.aspx" rel="noreferrer">Choosing Communication Options in .NET</a> (for 3.0, as that's the latest version of that article), it states:</p>
  <blockquote>
  <p>8 Cross-application domain communications</p>
  <p>If you need to support communication between objects in different application domains within the same process, you must use .NET remoting.</p>
  </blockquote>
  <p>Now, that, of course, isn't accurate, as WCF can certainly be used to cross appdomain boundaries, but is it giving the official recommendation for that scenario?</p>
  <p>Update: I sent Clemens Vasters (who was on the team that owns Remoting and WCF) this question:</p>
  <blockquote>
  <p>Clemens, I understand you're on the team that owns both remoting and wcf, and I have a couple of questions that I believe I need to go to the source for.</p>
  <p>First, I have a question about whether remoting is going away. Specifically, we have a rather large application that uses remoting extensively for in-process cross-appdomain communication, and I was wondering if this usage of remoting is considered &quot;legacy&quot;. If so, will AppDomain.CreateInstance and friends be replaced with something else?</p>
  </blockquote>
  <p>This is his reply:</p>
  <blockquote>
  <p>Remoting is part of the .Net Framework and as such it isn't going away. COM has been in Windows since Windows NT 3.5/Windows 95 and hasn't gone away and I don't see that going away anytime soon, either.</p>
  <p>That said, there is very minimal development investment going into Remoting. WCF is the successor of Remoting and supplants COM/DCOM for managed code.</p>
  <p>For in-process, cross-appdomain communication Remoting is the CLR's native way of communicating. If you are seeing performance issues pumping larger amounts of data or very many messages in short time, you should take a serious look at WCF and the NetNamedPipeBinding.</p>
  </blockquote>