Click here to Skip to main content
15,905,508 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I am new to C#.net.I am looking forward to build a remoting application.I am very new to the remoting Concepts.Please help me where to start .

regards
Chaithu
Posted

If you are using .Net 4.0, you should look at using WCF instead of remoting.
Read more about WCF on the msdn website.
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 2-Jun-11 2:23am    
I just pointed out the same thing. (My 5.) There are advanced cases when classic remoting beats WCF, but they are not typical. Also, WCF is more suitable for starters.

Please see my links.
--SA
Abhinav S 2-Jun-11 2:24am    
Can we actually implement remoting in .Net 4?
Sergey Alexandrovich Kryukov 2-Jun-11 2:35am    
You mean use it, classical remoting? Or yes, sure.
--SA
Abhinav S 2-Jun-11 2:44am    
But it needs to be implemented using the ABCs of WCF. Earlier Remoting had separate contructs of its own.
Sergey Alexandrovich Kryukov 2-Jun-11 2:54am    
Yes of course. This is like a parallel system. Earlier Remoting and WPF are not related.
--SA
I would advice you to start not from "classical" remoting, but from simple cases of self-hosted WCF.

WCF is easier to start and put to work in most typical and simple cases. Classical remoting needs more effort, especially at first, when you sort out the problems of remote object activation.

If you're ready to start with WCF, try to follow the approach using these CodeProject articles:
A Quick and Dirty WCF Service and Client (Using WCF and Winforms)[^],
Simple WCF Hosting and Consuming[^],
Exploring Windows Communication Foundation - Part 2[^] (where is part I, will you find it?),
Exploring WCF 3.5 Tools - WcfSvcHost and WcfTestClient[^].

See also: http://msdn.microsoft.com/en-us/library/ms731082.aspx[^],
http://msdn.microsoft.com/en-us/netframework/dd939784[^].

—SA
 
Share this answer
 
Comments
Abhinav S 2-Jun-11 2:24am    
Good links.
Sergey Alexandrovich Kryukov 2-Jun-11 2:33am    
Thank you, Abhinav.
--SA
Abhinav S 2-Jun-11 2:36am    
You are welcome. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900