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.
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.
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.
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.