VB.NET INTERVIEW QUESTION & ANSWERS
56. |
What is Remoting? |
|
Remoting is a means by which one operating system process, or program, can communicate with another process. The two processes can exist on the same computer or on two computers connected by a LAN or the Internet. Web services are probably the best known type of remoting, but they are not the only option. |
57. |
What are remotable objects in .NET Remoting? |
|
Remotable objects are the objects that can be marshaled across the application domains. You can marshal by value, where a deep copy of the object is created and then passed to the receiver. You can also marshal by reference, where just a reference to an existing object is passed. |
58. |
Which method do you use to enforce garbage collection in .NET? |
|
System.GC.Collect() method |
59. |
What is Marshalling? |
|
Marshaling is a process of making an object in one process (the server) available to another process (the client). |
60. |
What are the types of marshalling? |
|
There are two types of marshalling are - Marshal by value
- Marshal by reference
|