开发者

CallBack in WCF?

开发者 https://www.devze.com 2023-01-09 14:12 出处:网络
How we use CallBack in WCF fluently with events and delegates? If Client give any request or any conditions matches of client then services automatica开发者_开发知识库lly fire the event which conditi

How we use CallBack in WCF fluently with events and delegates?

If Client give any request or any conditions matches of client then services automatica开发者_开发知识库lly fire the event which condition or request given from client.

how is it possible?


A cleaner model is an event driven one using a Publish/Subscribe Pattern. Read this to get inside onto both methods.

http://msdn.microsoft.com/en-us/magazine/cc163537.aspx


You basically define a service method as one-way and also create a message callback. See more here: http://idunno.org/archive/2008/05/29/wcf-callbacks-a-beginners-guide.aspx

0

精彩评论

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

关注公众号