Communication between service and application And also to trigger the application with GUI

天涯浪子 提交于 2019-12-13 17:17:13

问题


I have developed an application which does periodical jobs. It runs as windows service in background and manages jobs. I want to trigger another application with GUI from service application when any error notification needs to be given to user. So after seeing err message user will give some response. So now service application (running as service) should do some work based on user response in GUI application (with interface). User response should be communicated to the service application.

So my requirement is

  1. Application running as service should be able to trigger another application with GUI (its sufficient if triggering happens only when users are logged in)
  2. Communication between an application running as service and application with GUI.

I saw many links about communication between service and application. Named pipes requires .net 3.5 and above, but I want my application to work in .net 2 alone. Writing to a txt file and reading it is last option for me as it is not the best method.

So how it can be done? Please give me ideas to start with.

来源:https://stackoverflow.com/questions/27227654/communication-between-service-and-application-and-also-to-trigger-the-applicatio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!