Explain what is .net remoting ?

October 28, 2007 · Filed Under .Net Framework Interview Questions, Placement Questions 



Don't want to miss a single bit? Subscribe By Email for Daily Jobs

Enter your email address :

All the latest from JobsAdda on Jobsadda.com delivered to your mailbox everyday.

Like DCOM, RMI, CORBA which are remoting technologies, .Net Remoting is a new entry in this list of remoting technologies. It is a system for different applications to use to communicate with one another. The applications can be located on the same computer, different computers on the same network or even computers across a network.

Objects that can be accessed using remoting are remotable objects. These objects are accessed trough channels which transport the messages to and from remote objects. These channels are of two types depending upn the protocol used for communication: HttpChanel or TCPChannel.

To create a remotable object one needs to create a class inheriting from MarshalByRefObject.

using System;
using System.Runtime.Remoting;

namespace Remoting
{
///
/// Object to demonstrate the use of .NET Remoting.
///
public class RemotableObject : MarshalByRefObject
{
}
}

Related Articles


Get Latest JobsAdda.com Jobs, news & updates  via Email