如何将数据从IIS中托管的WCF发送到窗口应用程序

问题描述:

大家好!
任何人都可以帮助我回答问题如何从IIS中托管的wcf向窗口应用程序发送数据?".
想象一下,我有一个调用WCF的应用程序A(某些类型的应用程序)来保存日志信息. Wcf会将这些信息存储到数据库/平面文件等中,并将保存的信息发送到应用程序B(窗体应用程序).收到记录的信息后,应用程序B将在表单或其他内容上显示它.
在此先感谢
Huong

Hi all!
Anyone can help me to answer the question "How to send data from wcf hosted in IIS to window application?".
Imagine that, i have application A(some kinds of application) calling WCF to save log information. Wcf will store that information into Database/flat file,etc...and will send that saved information to Application B(window form application). After receiving the logged information, the Application B will show it on form or something else.
Thank in advance
Huong

WCF不会发送"信息,您的客户端应用程序需要请求该信息.服务器应用程序(WCF)不了解客户端应用程序,它仅处理请求.
WCF does not "send" information, your client application need to request the information. A server application (WCF) has no knowledge of a client application, it only services requests.


我已经使用SendMessage将信息从wcf服务发送到Application
谢谢所有
I have used SendMessage to send information from wcf service to Application
Thank all