|
-
Apr 19th, 2004, 09:12 AM
#1
Thread Starter
Junior Member
Communicate with Remote Server
Hi,
I'm in the process of trying to work out the best way for a client to communicate with a remote server, ask it to perform a task and for it to then return a result to the client.
We currently have a client installed on each of our workstations which makes use of a single class library to perform various tasks, e.g. to update customer details stored in a MySQL database.
What we're looking to do now is to have the ability to perform actions on a remote server. For example, in the client we click 'Add DNS Zone' and provide the relevant information. The client then communicates with the remote DNS server, gets it to add the zone and recieves a success/failure result.
My line of thinking is to use .NET remoting and to create a service and install it on each of the servers that need to be managed. Then create a class library which contains all the management functionality, e.g. adding DNS zones, rebooting a server etc. and to deploy it with the service.
Then, in the class library that is deployed with our desktop client to have functions which connect to the remote server via TCP and call the relevant method contained with the remote servers class library. The remote server then performs the relevant action and returns the success/failure notice to the client.
Finally, connect the dots between the client and the class library function.
Am I on the right lines or have I completely missed something?
Any help or advice would be appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|