Windows Service Custom Methods

R

rajkiranpro

I created a windows service and installed it and it works fine.

now I extend its functionality..

I have created some public methods which returns string value and other
objects of classes in the service.

Now I want to call those methods from a windows forms application.

The ServiceController class allows me to execute custom commands but it does
not allow to return a value.

Any Suggestion???

Thanks in advance

Regards
Rajkiran
 
K

Kerem Gümrükcü

Hi,

the only option you have to communicate between
a windows service and a UI application is to use some
sort of IPC, either WCF, Remoting, Sockets, Shared Memory,
Pipes, etc,...

There are tons of examples out in the web, google is your
best friend....


Regards

Kerem
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top