1

Possible Duplicate:
GUI and windows service communication

What is the most simple local (on one machine) IPC way between a .NET GUI application and a .NET windows service? On the lowest level it should be something like named pipes or local-sockets? Is there any infrastructure for that?

Community
  • 1
  • 1
Cartesius00
  • 23,584
  • 43
  • 124
  • 195

1 Answers1

0

I would've thought the easiest way to do it is with a web service or RPC/RMC stuff - that way all the communication is done for you. Im not sure of the details of what classes etc you should be using unfortunately. If you start using sockets you basically have to reinvent the wheel and create you're own way of communicating between the programs, the other two options basically will involve doing a little bit of config and then everything will look like method calls

JonnyRaa
  • 7,559
  • 6
  • 45
  • 49