O'Reilly logo

.NET Common Language Runtime Unleashed by Kevin Burton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Remoting Objects

With COM, the default and practically only means of transporting an object was by reference. It was not easy to create an object that was passed by value. In fact, doing so became a frequently discussed topic among COM programmers. With .NET, a remoted object can be either by value or by reference. The objects can include complex types such as arrays, structs, or datasets. The limiting factor in remoting an object is usually in the SOAP formatter because not all data types that can be represented in the .NET languages can be accurately represented with SOAP. For example, with SOAP 1.1, it is difficult to represent two or more dimensioned arrays or arrays of arrays.

If the class author decides that the object should be marshaled ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required