Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure WCF to push real-time data to the client?

I need to send live updates from server to client. I know that WCF generally can do this. However silverlight is a picky client..

Does anyone know how to configure WCF to send the real-time updates to Silverlight client?

Snipets from configs and walkthrough will be greatly appreciated.

like image 547
Boppity Bop Avatar asked Jan 20 '23 00:01

Boppity Bop


1 Answers

Use WCF Callbacks. A good walkthrough that shows several configurations for this is available on the MSDN. We used the NetTCPBinding at my last job to great effect. It's very fast and efficient. The downside is that it doesn't support secure transport on Silverlight, so if that's a requirement you'll need to go with the PollingDuplexHttpBinding.

like image 174
Barry Avatar answered Feb 12 '23 11:02

Barry