Need some help figuring out what I am looking for. Basically, I need a service in which the Server dumps a bunch of XML into a stream (over a period of time) and every time the dump occurs N number of clients read the dump.
Example: Every time one of a 1000 stocks goes up by 5 cents, the service dumps some XML into a stream. The connecting applications grab the information from the stream.
I don’t think the connection will ever close, as there needs to be something reading the stream for new data.
This needs to adhere to WCF REST standards, is there something out there that I’m looking for?
In the end, it’s just a non-stop stream of data.
Update: Looks like the service needs to be a multi-part/mixed content type.
An application I’m working on has a similar architecture, and I’m planning to use SignalR to push updates to clients, using long-polling techniques.
I haven’t implemented it yet, so I can’t swear it will work for you, but their documentation seems promising:Update: I have implemented this now, and it works very well.Scott Hansleman has a good blog on the subject and there is a useful article (involving WCF, REST, and SignalR) here: http://www.codeproject.com/Articles/324841/EventBroker