ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Dot Net  >>  Dot Net Remoting
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions
 Dot Net General interview questions  Dot Net General Interview Questions
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/allinter/public_html/common/queries.php on line 15
Question
What are the differences between Marshal by value and 
Marshal by reference?
 Question Submitted By :: Swapna
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What are the differences between Marshal by value and Marshal by reference?
Answer
# 1
Marshal-by-value objects are copied by the remoting system 
and passed in their entirety to the caller's application 
domain. Once copied to the caller's application domain (by 
the marshaling process), all method calls and property 
accesses are executed entirely within that domain. The 
entire object exists in the caller's domain, so there is no 
need to marshal accesses across domain boundaries. Using 
marshal-by-value objects can increase performance and 
reduce network traffic when used for small objects or 
objects to which you will be making many accesses. However, 
because the object exists entirely in the caller's 
application domain, no state changes to the object are 
communicated to the originating application domain, or from 
the originator back to the caller. Marshal-by-value is not 
a good choice for very large objects with many accesses. It 
makes little sense to marshal an entire large object across 
domain boundaries when all you need is access to a single 
field, method, or property.
 
Is This Answer Correct ?    9 Yes 2 No
J's
 
  Re: What are the differences between Marshal by value and Marshal by reference?
Answer
# 2
Remoting makes an object in one process (the server) 
available to code in another process (the client). This is 
called marshalling, and there are two fundamentally 
different ways to marshal an object

-->Marshal by value: the server creates a copy of the 
object passes the copy to the client. 
-->Marshal by reference: the client creates a proxy for the 
object and then uses the proxy to access the object.
 
Is This Answer Correct ?    10 Yes 2 No
Rashmi Tiwari
 
 
 
  Re: What are the differences between Marshal by value and Marshal by reference?
Answer
# 3
MBV:the server creates a value and send it to the Client .
MBR:The Server sends the reference of that value to the Client.
 
Is This Answer Correct ?    0 Yes 0 No
Bolisettyvaas
 

 
 
 
Other Dot Net Remoting Interview Questions
 
  Question Asked @ Answers
 
What is a formatter?  2
Explain what is the relationship between a Process, Application Domain, and Application?  2
How can you debug failed assembly binds?  1
Where is global assembly cache located on the system? Value-Labs2
Threading Types ? DELL3
About sn.exe ? MMTS2
What are the differences between Marshal by value and Marshal by reference? Verizon3
Where are shared assemblies stored?  2
Choosing between HTTP and TCP for protocols and Binary and SOAP for formatters, what are the trade-offs?  1
What are static assemblies and dynamic assemlies. Differences between them ? TCS2
What is the difference between authentication and authorization ? Digital-GlobalSoft5
About remoting and web services. Difference between them? Microsoft5
What is boxing and unboxing ? TCS1
Can you configure a .NET Remoting object via XML file? Tavant-Technologies1
What?s a Windows process?  1
What is an assembly and what does manifest consists ? TCS3
Choosing between HTTP and TCP for protocols and Binary and SOAP for formatters, what are the trade-offs? In what way it is best?  2
What security measures exist for .NET Remoting in System.Runtime.Remoting?  1
About .NET Remoting and types of remoting ? MMTS2
What?s a proxy of the server object in .NET Remoting?  1
 
For more Dot Net Remoting Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com