Skip to main content
Home Forums Silverlight Programming Programming with .NET - General Keep WCF duplex session open
3 replies. Latest Post by Dastei on August 11, 2008.
(0)
Dastei
Member
49 points
20 Posts
08-08-2008 8:26 AM |
How I can keep a duplex session open?
pbromberg
Contributor
2102 points
367 Posts
08-08-2008 8:59 AM |
A WCF duplex session actually uses polling by the client "under the hood" with the request effectively being "put to sleep" until the server provides a response. Dan Wahlin has a nice post that illustrates and also explains the behavior: http://weblogs.asp.net/dwahlin/archive/2008/06/16/pushing-data-to-a-silverlight-client-with-wcf-duplex-service-part-i.aspx
What is it exactly that you want to accomplish?
08-11-2008 2:05 AM |
I need a persistent session for my silverlight application, where I can manage exclusiv server ressources over some requests for a dialog / transaction.
In this context the basichttpbinding is for me useless and to use the session from ASP.NET need to implement own procotol. I hope I can use the polling duplex session for my requirements.
08-11-2008 5:17 AM |
Ok I solve my problem with ASP.Net
And that works likely on the same way with JAX-WS