Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
cours:service_oriented_computing_and_web_services_2017_2018:lab_eventing_and_wstutorial:publish_subscribe_pattern_for_eventing_with_web_services [2018/03/29 11:29] tigli [Your first step by step eventing communications between Web service and Client] |
cours:service_oriented_computing_and_web_services_2017_2018:lab_eventing_and_wstutorial:publish_subscribe_pattern_for_eventing_with_web_services [2018/03/29 11:33] (Version actuelle) tigli [Create WCF Service Library (EventsLib.dll)] |
||
---|---|---|---|
Ligne 69: | Ligne 69: | ||
=== Defining Interface ICalcServiceEvents (ICalcServiceEvents.cs) === | === Defining Interface ICalcServiceEvents (ICalcServiceEvents.cs) === | ||
- | + | ||| | |
- | ** Exercice: ** | + | |
Now Let's define interface for the events published by the service. | Now Let's define interface for the events published by the service. | ||
Ligne 389: | Ligne 388: | ||
=== Action<T> Delegate === | === Action<T> Delegate === | ||
https://msdn.microsoft.com/en-us/library/018hxwa8(v=vs.110).aspx | https://msdn.microsoft.com/en-us/library/018hxwa8(v=vs.110).aspx | ||
- | ===== Advanced use of Eventing ===== | + | ===== PART 2 : Advanced use of Eventing ===== |
Thanks to the previous example, create a central WS that accept data modification from "Publishers" clients and send event on these modifications to "subscribers" clients. | Thanks to the previous example, create a central WS that accept data modification from "Publishers" clients and send event on these modifications to "subscribers" clients. | ||
Test it with a simple shared data like a count value, with one pupblisher and various subscribers. | Test it with a simple shared data like a count value, with one pupblisher and various subscribers. | ||