帮帮我,WCF和小工具 [英] Help me, wcf and gadget

查看:104
本文介绍了帮帮我,WCF和小工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用wcf做一个项目,我想从数据库中收到新邮件时,应用程序会在停止状态下显示它,
我的应用程序使用wcf,但我不知道客户端如何自动向服务器思想服务请求以检查新邮件?
就像小工具一样,但是我的应用程序通过服务wcf进行通信.
您能帮我解决这个问题吗?

I am doing a project using wcf, I want when have new mail from database, application will display it on destop,
My application using wcf, and I don''t know how to client can auto to request to server thought service to check new mail?
it is like gadget, but my application communication by service wcf.
Can you help me some solution for this? thank very much, sory for english of me.

推荐答案

如何开始学习WCF呢?

http://www.wcftutorial.net/ [ ^ ]
http://msdn.microsoft.com/en-us/library/dd456779.aspx [ ^ ]

(进行Google搜索,还会有更多内容)
How about starting by learning about WCF?

http://www.wcftutorial.net/[^]
http://msdn.microsoft.com/en-us/library/dd456779.aspx[^]

(do a Google search, there will be many more)


您可以在特定时间间隔(通过WCF服务)检查新电子邮件.我认为您需要使用POP3或IMAP(可用).

或者,让服务在您的桌面服务连接到的其他地方运行.让该服务进行电子邮件轮询,并在有新电子邮件时使用回调将其传达回您的桌面服务.这样也可以,并且还可以使桌面服务免于进行不必要的轮询.
You can either check for new email at specific time intervals (from your WCF service). I reckon you''d need to use POP3 or IMAP (as is available).

Alternatively, have a service run elsewhere that your desktop service connects to. Have this service do the email polling and when there''s new email, use a callback to communicate this back to your desktop service. That''d work too and would also free up your desktop service from doing too much unnecessary polling.


这篇关于帮帮我,WCF和小工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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