Skip to main content

Microsoft Silverlight

Answered Question Keep WCF duplex session openRSS Feed

(0)

Dastei
Dastei

Member

Member

49 points

20 Posts

Keep WCF duplex session open

How I can keep a duplex session open?

Regards,
David Steinkopff

pbromberg
pbromberg

Contributor

Contributor

2102 points

367 Posts

Re: Keep WCF duplex session open

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?

Dastei
Dastei

Member

Member

49 points

20 Posts

Re: Re: Keep WCF duplex session open

 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.

Regards,
David Steinkopff

Dastei
Dastei

Member

Member

49 points

20 Posts

Answered Question

Re: Re: Re: Keep WCF duplex session open

 Ok I solve my problem with ASP.Net

And that works likely on the same way with JAX-WS

Regards,
David Steinkopff
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities