SilverlightShow: The duplex story: looking at duplex communication in Silverlight (Part 1) Comments
http://www.silverlightshow.net/
Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samplesSilverlightShow.nethttp://www.rssboard.org/rss-specificationArgotic Syndication Framework 2008.0.2.0, http://www.codeplex.com/Argoticen-USestoychev@completit.com (Emil Stoychev)Re: The duplex story: looking at duplex communication in Silverlight (Part 1)<p>how to unregister the client from the service after closing the browser ??</p>
<p>i cant do this </p>
http://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspx#comment9559
Mas3oudehttp://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspxSat, 29 Jun 2013 12:11:19 GMTRe: The duplex story: looking at duplex communication in Silverlight (Part 1)I recently ran into a problem with duplex channel timeout while printing in Silverlight. Since communication and printing seem to be happening on the highly coveted UI thread, the communication channel is starved while printing. Any suggestions on how to avoid channel timeout while printing? thx
http://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspx#comment6416
frinkfreehttp://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspxMon, 08 Aug 2011 16:56:14 GMTInactivity Timeout problemAfter ten minutes from sending messages to the client, and since the client is not responding, the inactivitytimeout will fire up and the service will stop responding because it may think that the client (is inactive) since it only receives messages but sends nothing back. How do we overcome this problem? I have tried to set the value for this parameter to TimeSpan.max but nothing happened.
http://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspx#comment5442
HelpMEhttp://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspxMon, 07 Feb 2011 06:27:10 GMTRE: The duplex story and why it should be easy instead of being difficult<p>This article is made to be difficult to follow and finally get rid of it and take the online presentation or to download the source code and followint it without reading the article.</p>
<p>It's not difficult to understand why Flash still rullz :)</p>
http://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspx#comment5405
fjdklfja;ghfhttp://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspxSat, 29 Jan 2011 21:45:42 GMTRE: The duplex story: looking at duplex communication in Silverlight 4 (Part 1)<p><span style="font-family: calibri;">I have a question about implementing asynchronous notification server->client using the polling duplex WCF channel in Silverlight 4.</span></p>
<p><span style="font-family: calibri;"> </span><span style="font-family: calibri;">From what I have read, I need to do the following:</span></p>
<ol>
<li><span style="font-family: calibri;">Mark the callback contract methods that I want to call asynchronously with IsOneWay=true</span></li>
<li><span style="font-family: calibri;">Make sure the ConcurrencyMode of the service is not set to Single.</span></li>
</ol>
<p><span style="font-family: calibri;"> </span><span style="font-family: calibri;">I am currently using InstanceContextMode=Single, but I find that even if I meet 1 and 2 above and even if I set the IndexContextMode to PerCall, the "async" methods still block.</span></p>
<p><span style="font-family: calibri;"> </span><span style="font-family: calibri;">What do I mean by block?</span></p>
<p><span style="font-family: calibri;">I do not mean that they block on the wire because I am flooding the client. This indeed can be expected to block even a one way call.</span></p>
<p><span style="font-family: calibri;">No, what I mean is that even if I make a single call to the async method, and put a Sleep (13645) in the client's event handler that handlers the call, then the server invocation returns after about 13800 msec. This is clearly no coincidence and tells me that the server is blocking until the client completes the call.</span></p>
<p><span style="font-family: calibri;"> </span><span style="font-family: calibri;">Now, of course, I can overcome this by spawning an invocation of my call in a thread from the ThreadPool, but this is not really good enough.</span></p>
<p><span style="font-family: calibri;">Using this method, I am likely to be flooding the server with threads that might all be waiting for a client.</span></p>
<p><span style="font-family: calibri;">I can solve this again by configuring a small timeout on those outgoing calls and limiting the number of threads in the thread pool.</span></p>
<p><span style="font-family: calibri;">But shouldn’t all of that been handled by the duplex channel?</span></p>
<p><span style="font-family: calibri;"> </span><span style="font-family: calibri;">I would appreciate your insight …</span></p>
http://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspx#comment5168
David Sacksteinhttp://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspxMon, 27 Dec 2010 12:51:30 GMTRE: The duplex story: looking at duplex communication in Silverlight 4 (Part 1)<p>Nice tutorial, but when i open another multi-browser, it very slow or hang-on. how to solve this ?</p>
http://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspx#comment4850
Linhhttp://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspxFri, 12 Nov 2010 12:48:39 GMTRE: The duplex story: looking at duplex communication in Silverlight 4 (Part 1)Thanks for your post on duplex communication. I was still confused reading your post then viewed the <a href="http://channel9.msdn.com/shows/SilverlightTV/Duplex-Communication-with-WCF-in-Silverlight-4-Silverlight-TV-34/" target="_blank">Silverlight TV post on Duplex Communication with WCF in Silverlight 4</a>. After that, your post became very clear. Now on to part II and III.
http://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspx#comment4416
Tonyhttp://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspxWed, 08 Sep 2010 07:24:02 GMTRE: The duplex story: looking at duplex communication in Silverlight 4 (Part 1)<p>Hi </p>
<p>Great Post. Made lot of things clear. I just want to scale it further. In your project all the connected clients are getting the same notifications. Let us assume that as a client if i have subscribe fro only few trains notifications. then i should be notified for only those trains and not all the trains. can you pls guide me where should be this filters applied.</p>
<p>Thanks</p>
http://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspx#comment4357
goldyhttp://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspxMon, 30 Aug 2010 14:38:17 GMTRE: The duplex story: looking at duplex communication in Silverlight 4 (Part 1)Good work !
http://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspx#comment4345
Andreshttp://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspxFri, 27 Aug 2010 21:40:14 GMTRE: The duplex story: looking at duplex communication in Silverlight 4 (Part 1)Thanks for the write up, nice work!
http://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspx#comment3933
Aaronhttp://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspxWed, 07 Jul 2010 04:44:56 GMTRE: The duplex story: looking at duplex communication in Silverlight 4 (Part 1)Thanks for a great article. I've struggled for a while trying to understand duplex communication. I look forward to the others.
http://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspx#comment3930
Georgehttp://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspxTue, 06 Jul 2010 18:07:03 GMTRE: The duplex story: looking at duplex communication in Silverlight 4 (Part 1)<p>Very nice article.Thanks for introducing the duplex binding.</p>
http://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspx#comment3922
Thanigainathanhttp://www.silverlightshow.net/items/The-duplex-story-looking-at-duplex-communication-in-Silverlight-4-Part-1.aspxMon, 05 Jul 2010 21:07:12 GMT