Drag Article : Moved from Old Blog
I would like to recommend a good book for beginner who like to learn about Micorsoft .NET Remoting.. The book named : Microsoft® .NET Remoting : By Scott McLean, James Naftel, Kim Williams0 (ISBN – 7356-1778-3 ) .
I had made some notes that I would like to share you all, from this book..
Stubs
- These pieces of code run on the client and the server that make RPCs apperars through they’re local. eg: client code calls procedures in the stub that book exactly like the ones implemented on te server. The stub then forward the call to the romote process.
Marshaling
- is the process of passing parameters from one context to another.
- In RPC, function parameters are serialized into packets for transmission across the wire.
Interface Definition Language (IDL)
- provides a standard meansof describing the calling syntax and data types of RPC independent of any language.
** NOTE **
.NET Remoting performance differs from DCOM performance when the client and the server are on the same machine.
DCOM : detectes that the processes are local and falls back to a pure COM(more optiomized communication).
.NET Remoting : will still use the network protocol(eg: TCP) that it was configured to use.
** NOTE **
.NET Remote object can participate in COM+ services and can service both .NET Remoting clients and COM clients. However, to support legacy COM clients, the .NET object hosted by COM+ use COM for communication method rather than .NET Remoting. In addition, these .NET object must be given strong names and registered as traditional COM Object bu using the Regasm Tool.