Boppity Bop
Boppity Bop

Reputation: 10483

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.

Upvotes: 4

Views: 8623

Answers (3)

Bala R
Bala R

Reputation: 109037

You can setup your WCF service to use PollingDuplexHttpBinding .

See this video tutorial from channel9.

Upvotes: 0

Barry
Barry

Reputation: 2073

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.

Upvotes: 7

Emond
Emond

Reputation: 50702

Depending on the infrastructure (intranet?) you could use sockets.

Upvotes: 1

Related Questions