开发者

Consumer-producer in wcf

开发者 https://www.devze.com 2022-12-18 22:17 出处:网络
Is there any example of a consumer-producer type web service written in WCF? What I am trying to do is write a web service where a producer can publish/upl开发者_如何学编程oad variables (in this case,

Is there any example of a consumer-producer type web service written in WCF? What I am trying to do is write a web service where a producer can publish/upl开发者_如何学编程oad variables (in this case, cookies), via a Method, and the consumer will recieve each new published cookie (or can be anything).

Thanks


I think you're looking for callback operations. The consumer can subscribe to receive each generated cookie.

Here is a decent writeup:
http://idunno.org/archive/2008/05/29/wcf-callbacks-a-beginners-guide.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消