write a example for remoting (code)

Answer Posted / arunkumar thimma

static void Main(string[] args)
{
TcpChannel tcpChannel = new TcpChannel(8084);
ChannelServices.RegisterChannel(tcpChannel);
RemotingConfiguration.RegisterWellKnownServiceType(typeof(ClassLibrary1.CommonClass),
"testRemoting", WellKnownObjectMode.Singleton);
Console.WriteLine("Server is ready");
Console.ReadLine();
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the security features in .net remoting?

545


What are the ways to configure remoting objects before client can use them?

602


What is the Difference between CAO and SAO in Remoting.

562


How to directly call a native function exported from a dll?

568


What are the ways to renew lifetime leases of objects?

581






Explain serialization formatters in .net remoting

566


Can you explain remoting?

601


Define a process?

553


What is Remoting?

642


Can you pass SOAP messages through remoting?

572


Types of compatabilities and explain them ?

2034


What are the information required to configure remote objects?

521


What is unboxing?

486


What are dynamic assemblies?

573


How can you configure a .net remoting object via xml file?

552