Chapter Eleven. .NET Remoting

Team-Fly    

  
.NET and COM Interoperability Handbook, The
By Alan Gordon
Table of Contents


In this chapter, I discuss .NET remoting. .NET remoting is a technology in the .NET Framework that allows you to make method calls across app domain, process, and machine boundaries. (From now on, I'll just say across app domains where the app domains can be in different processes or on different machines.) In some respects .NET remoting is similar to XML Web services, which also facilitate distributed application development. However, a key design goal of XML Web services is to allow cross-platform method calls in a heterogeneous environment. The focus of .NET remoting is on .NET clients talking to .NET servers (even though it can be used in some cross-platform and interop scenarios). .NET remoting offers higher performance by giving you the option to use a lower-level TCP network protocol instead of HTTP and binary data encoding on the network instead of XML. It also offers far better fidelity with the CTS than XML Web services, allowing you to access methods , properties, and even events across the wire.

You could think of .NET remoting as the replacement for DCOM in the .NET Framework, but that wouldn't do it justice . .NET remoting adds a number of significant improvements from DCOM. It is easier to use and to configure and gives you the flexibility to choose the network protocol and serialization format used to transmit your method calls across the wire. As you go through this chapter, keep in mind that there is some overlap between .NET remoting and XML Web services. You will see that you can create an XML Web service using .NET remoting. In this chapter, I give you an introduction to the fundamentals of .NET remoting. Again, the purpose is not to try to teach you everything there is to know about .NET remoting. That would take an entire book. The purpose here is to give you enough background so you can talk about how .NET remoting fits into an overall migration scheme.


Team-Fly    
Top
 


. Net and COM Interoperability Handbook
The .NET and COM Interoperability Handbook (Integrated .Net)
ISBN: 013046130X
EAN: 2147483647
Year: 2002
Pages: 119
Authors: Alan Gordon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net