Hi All,
Currently, I have been facing an issue with using an event-driven web service.
Here's my scenario: I have a windows app running on 150+ user machines. Basically, this app subscribes to an event from a WCF service in order to receive some updates. Windows client saves these updates into Local DB.
Here's How I subscribe to the event from my client:
Webservice object = new Webservice("Endpoint");
object.eventhandler += new eventhandler(Targetmethod);
So, the Targetmethod will be invoked when the event occurs.
Problem: When the WCF service goes down for a while and back to live, our targetmethod in the client is not being called, as a result, we not receiving any updates.
Now how can I handle this situation in my client and continue receiving updates once the service is back and running?
Any advice will be highly appreciated
Thanks,
Srini