开发者

Application Client Agent Design

开发者 https://www.devze.com 2023-01-15 08:03 出处:网络
I need to create a small app which will run on my client machines as \"agent\" which will periodically check in with a server for certain 开发者_StackOverflow社区tasks.

I need to create a small app which will run on my client machines as "agent" which will periodically check in with a server for certain 开发者_StackOverflow社区tasks.

Do I

  1. Create the app as a windows service with an interface for configurations?

  2. Create an app which will run in system tray, with an interface for configuration?

Many moons ago I read that windows service app should not have any configuration interface. I would assume that even if I do create a windows service, there will have to be a second app which interacts with the service as the interface for configuration, correct?


If the application needs to be started and configured by a user without administrator rights, then you would need to go with the system tray approach because a service can only be started by an administrator. Otherwise either approach would work. The best approach would depend on the application.

0

精彩评论

暂无评论...
验证码 换一张
取 消