Phil and I discuss the real time web and consuming real time data from a Silverlight client.
“Real-time data can be consumed in a number of ways but there are a few techniques that are better suited to an RIA. A publisher/subscriber hub is one way of subscribing to data but this technique requires the subscriber to be running a web server which isn't possible from Silverlight or any other RIA technology. Continuously polling a resource is the most common way to check if the data you are interested in is available or has changed. This approach is know as client pull and used by WCF Duplex Services and might be fine if the data doesn't change frequently and you don't mind wasting the occasional server request when there's no new data available. However, if your RIA really needs data in real-time then HTTP server push is likely the best solution.”
It is a companion podcast to the MSDN Flash newsletter which is free to subscribers.
- Phil can be reached at http://www.leggetter.co.uk/ and https://twitter.com/leggetter
- Fiddler web debugging proxy
- The subject of this podcast also appears as an article in our FREE eBook
- Follow me and my team on twitter