Run C# application remotely. How ?  
Author Message
Kannan.B





PostPosted: Visual C# General, Run C# application remotely. How ? Top

Dear All,


I have a doubt regarding the .NET architecture and I want to know is it possible to do the following.

I have a server called MAIN SERVER which is connected to OTHER SERVERS.
This MAIN SERVER can be considered as gateway which is connected to all OTHER SERVERS located at different geographical locations.

I have a desktop application in CLIENT 1 connected to MAIN SERVER through LAN.

I would like to create an application architecture where the application at CLIENT 1 should post a request to MAIN SERVER to ping OTHER SERVERS. In turn the MAIN SERVER should ping the OTHER SERVERS and respond back to the desktop application at CLIENT 1 and application at CLIENT 1 should display the result

I would like to do this with the C#.NET

Regards,
Kannan.B



Visual C#19  
 
 
RizwanSharp





PostPosted: Visual C# General, Run C# application remotely. How ? Top

This is surely possible. See .Net Remoting or Use Sockets to do this.

Best Regards,



 
 
Kannan.B





PostPosted: Visual C# General, Run C# application remotely. How ? Top

Hey Rizwan,

Thanks and I am already working on that.

Mean while do you think I can use ASP.NET to ping the OTHER SERVERS from MAIN SERVER and display the result similar to real ping utility


 
 
RizwanSharp





PostPosted: Visual C# General, Run C# application remotely. How ? Top

Hmm If ASP.Net can call Remotable object then Yes, Try it and please do not forget to post back the results.

Best Regards,



 
 
Kannan.B





PostPosted: Visual C# General, Run C# application remotely. How ? Top

Finally I have come to the conclusion that it will be done using webservices.
The reason was that I can't expect a port to be opened in each client machine's firewall.

Hope I am not making any mistake here.

Please suggest.

 
 
MohamedElsayed





PostPosted: Visual C# General, Run C# application remotely. How ? Top

yes this is the best one.

WebServices will allow you to implement the logic of pinging the servers without caring about Firewalls, problems in network configuration, and so on

DOnt forget to provide us with updates



 
 
RizwanSharp





PostPosted: Visual C# General, Run C# application remotely. How ? Top

Right :)