且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

反复将数据从Windows服务传输到控制台应用程序

更新时间:2023-10-21 13:04:28

您肯定需要一种媒介来在这两个进程之间进行通信.可以在同一系统上以多种方式完成通信.

You would definitely need a medium to communicate between these two processes. The communication can be done in a lot of ways on the same system.

有了您在问题"中的解释,它看起来像是一种单向沟通.可能是您可以通过套接字(原始级别)进行进程间通信,也可以是使用消息传递框架进行通信(WCF/SignalR),或者甚至可以使用消息队列系统(MSMQ/RabbitMQ)等.

With your explanation in Question it looks like one way communication. May be you can go for Inter-process communication via sockets(raw level) or Use a messaging framework for communication(WCF/SignalR) or you can even use a Message Queue system(MSMQ/RabbitMQ) etc.

如果您可以缩小问题范围,则可以获得特定的答案.

You can get a specific answer if you can narrow down your question.