user366312
user366312

Reputation: 16978

WCF - Publisher/Subscriber - Event

Is it possible to implement a publisher/subscriber model in WCF only by using events (i.e. not Lists or Dictionaries)?

If yes, plz provide me with a web link of an example application, Or any article that talks about this.

Upvotes: 2

Views: 3415

Answers (3)

Mark Good
Mark Good

Reputation: 4303

Yes. Here is an MSDN article all about it.

Upvotes: 2

Matt Davis
Matt Davis

Reputation: 46054

I would refer you to Juval Lowy's website, IDesign.net. He is the author of arguably the definitive book on WCF, Programming WCF Services. His website is full of all kinds of examples that are freely available, including a working WCF Publish-Subscribe framework. Look for the Publish-Subscribe Framework in the Downloads area.

Upvotes: 2

Jehof
Jehof

Reputation: 35544

Events are not possible in WCF. You have to use Callback-Contracts. Here you can find some information about the Publisher/Subscriber-Pattern in WCF.

Upvotes: 2

Related Questions