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)

Answers were Sorted based on User's Feedback



write a example for remoting (code)..

Answer / arunkumar thimma

public class CommonClass : MarshalByRefObject
{

public string FirstName;

public string LastName;

public string GetWelcomeString()
{
Console.WriteLine("Welcome " + FirstName + " " + LastName);
return "Welcome " + FirstName + " " + LastName;
}

}

Is This Answer Correct ?    1 Yes 0 No

write a example for remoting (code)..

Answer / 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

More Dot Net Remoting Interview Questions

What are static assemblies and dynamic assemlies. Differences between them ?

2 Answers   TCS,


what are the various type of channels used by .Net remoting and which is the best one?

1 Answers  


How do you define the lease of the object?

1 Answers  


In which conditions do you opt for Remoting services?

8 Answers   Manland, Tech Mahindra,


What is a strong name?

1 Answers  


Which namespace is used for encryption ?

3 Answers   Digital GlobalSoft,


What is the Difference between CAO and SAO in Remoting.

0 Answers  


What do you know about .NET assemblies?

2 Answers  


Explain how does assembly versioning in .net prevent dll hell?

0 Answers  


Can you configure a .NET Remoting object via XML file?

1 Answers  


What do you mean by passport authentication?

0 Answers  


Are you aware of containment and Aggregation ?

0 Answers   DELL,


Categories