Request: Simple Step-By-Step Remoting How-To
Hi,
Here's my problem. I have written a vb.net DLL which contains some key functions - at the moment I have a winforms application which hooks into it and can run the functions (which works). (fyi it inherits marshal by reference)
However, the functions have to be run from a specific server (I won't go into the details of why) and I don't want the application itself to run from that server, but simply to be able to excute the functions and access objects from the DLL on that server.
I understand remoting is the way to go, but it's giving me a bit of a headache trying to work out the simplest way to use it. I don't want to host it through IIS (which most tutorials seem to be based on) - so I think the host/server part needs to run as a service. I only need a single object loaded (clients can share the instance).
So, can anyone provide an example, step by step, of how to get a .net dll running as a remote service (or console app and I will convert it), and how to access it's objects and methods remotely?
Thankyou!
Tom.