How to use WCF as a bridge or wrapper?
|September 5, 2014||Posted by forumadmin under TechQns||
I have a special service constantly outputting updates from the field 24/7. Since it’s using the push mechanism and proprietary, it requires its corresponding proprietary client to receive the updates. I am not sure if this is a right approach, but I was asked to write a WCF service exposing the received data as a web service in JSON. What I am thinking is to write a web service wrapping a constantly-running process receiving updates and cache updates in memory and whenever my web service is called I will throw the cached data back in JSON.
As I understand, the ServiceHost is not constantly running. Instead it is activated when somebody hits the service. That’s not ideal because we need to receive all data (or at least data of last X days).
I also welcome any different approach if the current one sounds idiotic.
|Asked By – user880765||Read Answers|