Mike9900 said:
How can I connect my .NET app which use remoting to communicate over
internet, 2 instance of the same app? My app is already done using .NET
Remoting. I am wondering if to change them to WCF or just I can make them
communicate over the internet.
Mike,
I think you are confusing Remoting as a means for application to application
communication. Remoting is primarily meant for distributed computing and
should be used to layer an application so that tiers can be hosted on
application server(s). If you need to communicate among difference
applications, in theory this *can* be achived through remoting. A better fit
would be to use MSMQ if both applications are running on Windows as it will
guarantee message delivery.
However, if you already have code invested in Remoting, and would like to
leverage off that, then the database can be used as a means for Application
to Application communication (combined with polling or if using Sql Server
2005, event notification). I would not recommend a Singleton remoting
approach as a message distributor, as you cannot gurantee message delivery
and would have to build a lot of infrastructure that MSMQ already provides.
WCF is indeed a compelling choice since it unifies all of the message
protocols, but again, if you already have code invested in remoting, then the
above solution may be the way to go. Porting your remoting code to WCF may
not be a trivial task, depending of course, on the complexity of your code.
Hope I have helped.
--
Good luck!
Shailen Sukul
Architect
(BSc MCTS, MCSD.Net MCSD MCAD)
Ashlen Consulting Service P/L
(
http://www.ashlen.net.au)