vendredi 17 avril 2015

Allowing my local C# application run remotely

I have a c# application that executes a schema upgrade process in an oracle environment and currently only works on the local machine. The application initializes the server it’s on and pulls local information off the server (i.e. registry info, IP addresses, and etc.). I have managed to create code that bypasses some of these settings, seeing as I am trying to connect from a Windows to a Linux system. Instead I pass a hostname argument of what I want the upgrade to run on and have gotten the application to produce the correct IP address and connection string to connect to the desired server. Problem is after I process the arguments and the initialization I try and open the connection (which it does open) and then application just starts run the upgrade on the local machine.


I am not sure if what I am doing is even possible to do or if I am coming at this issue at the wrong angle. I don’t know if I should just try to hook specific information off the Linux server, or write an API or whatever? Looking for ideas on how I can make my c# application remote. My application is quiet robust, so to rewrite it would be out of the question.


Aucun commentaire:

Enregistrer un commentaire