如何将数据从IIS中托管的WCF发送到窗口应用程序 [英] How to send data from wcf hosted in IIS to window application

查看:67
本文介绍了如何将数据从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


这篇关于如何将数据从IIS中托管的WCF发送到窗口应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆