Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Silverlight Polling Duplex with HTTPS

Is it possible to have Silverlight Polling Duplex WCF working with HTTPS?

like image 282
Paolo Mosna Avatar asked Sep 15 '10 12:09

Paolo Mosna


2 Answers

Yes you can use Polling Duplex over HTTPS. If you are running the Silverlight app inbrowser make sure you set the client access policy so that it works with HTTPS

http://blogs.msdn.com/b/colinco/archive/2009/07/27/silverlight-3-ssl-and-clientaccesspolicy-xml.aspx

like image 88
Martin Beeby Avatar answered Nov 01 '22 09:11

Martin Beeby


You can use HTTPS with polling duplex.

When setting the PollingDuplexHttpBinding you need to specify the correct BasicHttpSecurityMode (http://msdn.microsoft.com/en-us/library/system.servicemodel.basichttpsecuritymode%28VS.95%29.aspx).

like image 31
Rus Avatar answered Nov 01 '22 09:11

Rus