write a example for remoting (code)

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different types of assemblies?

578


Explain the types of .net remoting?

608


Define the lease of the object?

590


Is it a good design practice to distribute the implementation to remoting client?

504


What is fundamental of published or precreated objects in remoting?

599






Hello, I want to connect a system in LAN and i want to access that.When ever i am moving a mouse in my desktop the similar thing have to happend in the another system in which i have connected. I need coding for this in c# and .NET . any one please help me.It is very urgent to me Advance thanks. my email id:manojkumarchallagundla@gmail.com

2308


What is asynchronous programming?

572


What is the difference beween the registeractivatedservicetype() and registeractivatedclienttype()?

535


Explain when we use web service and when we use remoting?

529


How do you implement distributed applications in .net?

515


What is the difference between remoting and webservice?

523


Explain the differences between marshal by value and marshal by reference?

585


What is objref object in remoting?

695


I am developing a project.Title is "Remote Demonstator".Using asp.net and C# Abstact: While administrator moving mouse and clicking on any link in the webpage that action will be performed in Server machine as well as in client machine.The client initially have to log-in and make a phone call to the admin. This is my project. How can i get this? I can create a website but this concept i have to implement in my website.How can i achive this? How to get client system control and how my mouse movings can be visible to client? I request all to please give me a basic idea or some hint. Advance Thanks.

1979


what is Client-activated object in remoting?

584