
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
DotNet Remoting Interview Questions

DotNet Remoting Interview Questions

Ratings: (0)|Views: 550|Likes:
Published by narayana_j

More info:

Published by: narayana_j on Aug 07, 2008
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, DOC, TXT or read online from Scribd
See More
See less





Interview Questions.NET Remoting
What’s a Windows process?
It’s an application that’srunning and had been allocated memory.
What’s typical about a Windows process in regards tomemory allocation?
Each process is allocated its own block of available RAM space, no process can access another  process’ code or data. If the process crashes, it dies alonewithout taking the entire OS or a bunch of other applicationsdown.
Why do you call it a process? What’s different betweenprocess and application in .NET, not common computerusage, terminology?
A process is an instance of a runningapplication. An application is an executable on the hard driveor network. There can be numerous processes launched of thesame application (5 copies of Word running), but 1 processcan run just 1 application.
What distributed process frameworks outside .NET doyou know?
Distributed Computing Environment/RemoteProcedure Calls (DEC/RPC), Microsoft DistributedComponent Object Model (DCOM), Common ObjectRequest Broker Architecture (CORBA), and Java RemoteMethod Invocation (RMI).
What are possible implementations of distributedapplications in .NET?
.NET Remoting and ASP.NET WebServices. If we talk about the Framework Class Library,noteworthy classes are in System.Runtime.Remoting andSystem.Web.Services.
When would you use .NET Remoting and when Webservices?
Use remoting for more efficient exchange of information when you control both ends of the application.Use Web services for open-protocol-based informationexchange when you are just a client or a server with the other end belonging to someone else.
What’s a proxy of the server object in .NET Remoting?
It’s a fake copy of the server object that resides on the clientside and behaves as if it was the server. It handles thecommunication between real server object and the clientobject. This process is also known as
What are remotable objects in .NET Remoting?
Remotable objects are the objects that can be marshaledacross the application domains. You can marshal by value,where a deep copy of the object is created and then passed tothe receiver. You can also marshal by reference, where just areference to an existing object is passed.
What are channels in .NET Remoting?
Channels representthe objects that transfer the other serialized objects from oneapplication domain to another and from one computer toanother, as well as one process to another on the same box. Achannel must exist before an object can be transferred.
What security measures exist for .NET Remoting inSystem.Runtime.Remoting?
None. Security should be takencare of at the application level. Cryptography and other security techniques can be applied at application or server level.
What is a formatter?
A formatter is an object that isresponsible for encoding and serializing data into messageson one end, and deserializing and decoding messages intodata on the other end. 
Choosing between HTTP and TCP for protocols andBinary and SOAP for formatters, what are the trade-offs?
Binary over TCP is the most effiecient, SOAP over HTTP isthe most interoperable.

You're Reading a Free Preview
