Communication between Windows Service and Desktop Application

时光总嘲笑我的痴心妄想 提交于 2019-12-02 20:45:41
Gerrie Schenck

Don't get scared away by the named pipes concept, WCF will take care of the nasty bits for you. You'll only have to do the configuration, it's simply another communication channel, instead of using HTTP for example. So you'll need to look into WCF.

Check out this tutorial.

In other words, what's the simplest and/or most effective way to communicate a basic DateTime from my service to my app?

You should use named pipe in this scenario, though the other options that you have involve MSMQ, webservices.

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