I have a Windows Service and need a Windows Forms based User Interface so I can control, configure and monitor the service.

Now it's pretty straight forward to be able to start, stop, pause the service but does anyone have any recommendations as to how I will communicate between the service and the user interface?

Typical actions will be:

  • Pass XML dataset from the Service to the UI when requested
  • Update Service variables (e.g. Options) from the UI
  • Execute/Call Service functions from the UI


So has anyone worked with this kind of architecture before? I have a few ideas but would like to hear some recommendations or opinions.

Thanks!

Justy.