Click here to Skip to main content
15,904,638 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I developed so many offline win applications using c# (Nhibernate) , in which my architecture consists GUI,BOL and DAL , But this time I have to develop online win application which will work on VPN connectivity and I want to use Remoting.
Please suggest me best architecture (Links)
Posted
Updated 11-Feb-11 0:53am
v2

I would avoid remoting (now obsolete) and also TCP sockets (what Ramalinga suggested). Instead I would recommend that you take a look at WCF which is perfectly suited for this sort of thing.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 11-Feb-11 15:42pm    
Good, my 5, but I could give you convincing example where WCF fails (in term of flexibility) compared to remoting, but my usage was very advanced. For basic usage WCF is way better though.
So, better don't call remoting obsolete, focus on WCF benefits.
--SA
Nish Nishant 11-Feb-11 17:59pm    
Thanks Kryukov.

Whether you use remoting or not, it's obsolete in the sense Microsoft will no longer update it or support it officially in future OSes. It's kind of like VB6 and ATL server, or say WTL. People still use those althogh they are now officially obsolete!
Sergey Alexandrovich Kryukov 11-Feb-11 23:55pm    
That's the point: officially obsolete gets appropriate Attribute, it cause compiler warning. And remoting is not as close to be obsolete as what you listed.
--SA
Nish Nishant 12-Feb-11 8:50am    
See http://msdn.microsoft.com/en-us/library/kwdt6w2k(v=VS.100).aspx

From that article: "This topic is specific to a legacy technology that is retained for backward compatibility with existing applications and is not recommended for new development. Distributed applications should now be developed using the Windows Communication Foundation (WCF)."
This[^] may give you an idea.
 
Share this answer
 

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