Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Difference between .net remoting versus distributed com?

995


Which Namespaces is used to achieve the Remoting?

1029


what is Client-activated object in remoting?

996


Explain marshalling and its types in .net remoting

942


Name the distributed systems available apart from .net remoting?

953


What is fundamental of published or precreated objects in remoting?

1015


What are different types of assemblies?

1122


What are the channels in .net remoting?

951


Types of compatabilities and explain them ?

2431


Define singlecall activation mode in .net remoting?

990


Define the lease of the object?

1024


Explain the hierarchial description of remoting?

938


Which one is better WebService and Remoting ?

1125


How do you directly call a native function exported from a DLL?

7586


What are dynamic assemblies?

1016