What is marshalling and what are different kinds of marshalling ?
.NET INTERVIEW QUESTIONS - What is marshalling and what are different kinds of marshalling ?
Marshaling is used when an object is converted so that it can be sent across the network or across application domains.
Unmarshaling creates an object from the marshaled data. There are two ways to do marshalling :-
* Marshal-by-value (MBV) :- In this the object is serialized into the channel, and a copy of the object is created on the other side of the network. The object to marshal is stored into a stream, and the stream is used to build a copy of the object on the other side with the unmarshalling sequence.
* Marshaling-by-reference (MBR) :- Here it creates a proxy on the client that is used to communicate with the remote object. The marshaling sequence of a remote object creates an ObjRef instance that itself can be serialized across the network.
2009-09-15, 4746👍, 0💬
What is the benefit of using #define to declare a constant? Using the #define method of declaring a ...
How do we get the current culture of the environment in windows and ASP.NET? “CultureInfo.CurrentCul. ..
How To Enter Characters as HEX Numbers? - MySQL FAQs - Introduction to SQL Basics If you want to ent...
Jack developed a program by using a Map container to hold key/value pairs. He wanted to make a chang...
How To Remove the Top White Space of Your Web Page? - CSS Tutorials - Introduction To CSS Basics The...