<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-2987032012497124857.post2791317916382395119..comments</id><updated>2011-12-18T02:32:15.382-08:00</updated><category term='ruby'/><category term='node.js'/><category term='iisnode'/><category term='proxy'/><category term='jQuery'/><category term='whiteboard'/><category term='java'/><category term='PDC10'/><category term='debugging'/><category term='web'/><category term='development'/><category term='picasso'/><category term='gissues'/><category term='codeplex'/><category term='Windows'/><category term='IIS'/><category term='RIA'/><category term='Websockets'/><category term='HTTP'/><category term='express'/><category term='GitHub'/><category term='jsconf'/><category term='scrum'/><category term='WCF'/><category term='software'/><category term='browser'/><category term='Mac OS'/><category term='arrjs'/><category term='node-inspector'/><category term='routing'/><category term='.net'/><category term='testing'/><category term='JavaScript'/><category term='webmatrix'/><category term='c++'/><category term='management'/><category term='Silverlight'/><category term='MIX'/><title type='text'>Comments on Tomek on Software: Pub/sub sample using HTTP polling duplex WCF chann...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tomasz.janczuk.org/feeds/2791317916382395119/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default?start-index=26&amp;max-results=25'/><author><name>Tomasz Janczuk</name><uri>http://www.blogger.com/profile/14273379892104866795</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://2.bp.blogspot.com/_NUp_nWDyyvI/S0E4LaVBrmI/AAAAAAAABQ4/qtgB80y4O38/S220/D70-100-3785.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>120</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-5332606109072676697</id><published>2011-12-18T02:32:15.382-08:00</published><updated>2011-12-18T02:32:15.382-08:00</updated><title type='text'>I got this working, seems I had a mixup between SL...</title><content type='html'>I got this working, seems I had a mixup between SL 4 and SL 5 assemblies. Everything now works as expected. ;) I still get a Visual Studio error when I try to update the service reference however, about pollingDuplex (the name i gave my registration of the pollingDuplexHttpBindingElement in the Extensions section of the server web.config) not being a recognized element. I have to remove the  entire system.serviceModel tag from the clientConfig before it will update the service reference successfully, and then put it back. Any idea why this happens?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/5332606109072676697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/5332606109072676697'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1324204335382#c5332606109072676697' title=''/><author><name>Philip</name><uri>http://www.blogger.com/profile/11096548436583658779</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-147988738'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-7788839663045654883</id><published>2011-12-17T02:18:33.175-08:00</published><updated>2011-12-17T02:18:33.175-08:00</updated><title type='text'>Hi Tomasz

I have a working service and client app...</title><content type='html'>Hi Tomasz&lt;br /&gt;&lt;br /&gt;I have a working service and client application implementing Polling Duplex targeting the Silverlight 4 runtime and it works brilliantly. I&amp;#39;m now trying to implement the same technique in a SL 5 application and my client throws an exception when trying to instantiate the service reference client object; &amp;quot;the given key was not present in the dictionary&amp;quot;. In my SL4 app I declare the client endpoint config in the ServiceReference.ClientConfig file so that I could modify timeout settings. When I do the same in the SL5 app, it complains about not being able to load ServiceModel.PollingDuplex.dll. I presume the &amp;quot;key not present&amp;quot; exception is because the client doesnt know about the pollingDuplex element in the client config file? What has changed in how PollingDuplex works in SL5 that would stop it behaving as it did in 4? I&amp;#39;ve looked at all the runtime versions of the ServiceModel, ServiceModel.PollingDuplex and SeviceModel.Extensions dll versions between the SL4 and SL5 runtime and they&amp;#39;re the same, so it should be exactly the same code running. Its very perplexing. Do you have any thoughts? Help would be appreciated :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/7788839663045654883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/7788839663045654883'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1324117113175#c7788839663045654883' title=''/><author><name>Philip</name><uri>http://www.blogger.com/profile/11096548436583658779</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-147988738'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-4505838508230578419</id><published>2011-11-02T01:20:24.948-07:00</published><updated>2011-11-02T01:20:24.948-07:00</updated><title type='text'>Hello Tomasz,

I am facing a scenario where Client...</title><content type='html'>Hello Tomasz,&lt;br /&gt;&lt;br /&gt;I am facing a scenario where Client Channel is getting faulted at random intervals. At this point if try to run the service in browser it gives me the error &amp;quot;The contract name &amp;#39;MyApp.Interfaces.IPubSub&amp;#39; could not be found&amp;quot;. I am using fully qualified name of interface in web.config file. I have to either add back the reference to System.ServiceModel.PollingDuplex dll or restart World Wide Web Publishing Service. I have been unable to find any solution to this for some time now. Could you please explain the cause and suggest a solution ? Thanks.&lt;br /&gt;&lt;br /&gt;Omer</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/4505838508230578419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/4505838508230578419'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1320222024948#c4505838508230578419' title=''/><author><name>Omer Javed</name><uri>http://www.blogger.com/profile/14308955724443186192</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_SBDMnel-MLg/Sqc9QcBp0jI/AAAAAAAAAB8/SGp-E3M7SFY/S220/profile_pic.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1820993040'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-5007388244976069397</id><published>2011-06-13T12:52:20.915-07:00</published><updated>2011-06-13T12:52:20.915-07:00</updated><title type='text'>Hi Tomasz,

I have done so much research on this n...</title><content type='html'>Hi Tomasz,&lt;br /&gt;&lt;br /&gt;I have done so much research on this now that I am bleary eyed and getting frustrated.  I am simply trying to get Http Polling Duplex working within a .net framework 4 wcf service for use with a Silverlight 4 client.  &lt;br /&gt;&lt;br /&gt;I have followed several instructions including this one ( http://msdn.microsoft.com/en-us/library/cc645027(VS.95).aspx ) and several others.  I have verified that I am referencing the correct version of the System.ServiceModel.PollingDuplex DLL.  I really don&amp;#39;t know what else I can do at this point.  &lt;br /&gt;&lt;br /&gt;I have received the &amp;quot;Contract requires Duplex&amp;quot; and the &amp;quot;pollingDuplex not valid&amp;quot; errors at different times.  Is there any way you could post a Pub/Sub sample that works in .net framework 4/Silverlight 4?  &lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;&lt;br /&gt;~Matt</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/5007388244976069397'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/5007388244976069397'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1307994740915#c5007388244976069397' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1357498403'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-1422764428736552366</id><published>2011-05-06T02:11:48.735-07:00</published><updated>2011-05-06T02:11:48.735-07:00</updated><title type='text'>Hie tomasaz janczuk,


The remote server returned ...</title><content type='html'>Hie tomasaz janczuk,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The remote server returned an error NotFound&lt;br /&gt;&lt;br /&gt;i dont knw what m i doing wrong..&lt;br /&gt;&lt;br /&gt;whenever i try pollingduplex i got this error on each and every application&lt;br /&gt;even this one which u provide above.&lt;br /&gt;&lt;br /&gt;i have all the solution which is given for this type of error above but nothing works please help me out</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/1422764428736552366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/1422764428736552366'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1304673108735#c1422764428736552366' title=''/><author><name>hunnysharma102</name><uri>http://www.blogger.com/profile/16321770381229213532</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1546365002'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-192291884563164141</id><published>2011-04-10T05:39:35.321-07:00</published><updated>2011-04-10T05:39:35.321-07:00</updated><title type='text'>Hello! I still can&amp;#39;t fix the .dll problem. Whe...</title><content type='html'>Hello! I still can&amp;#39;t fix the .dll problem. Where is located the right file that should be added to the refference?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/192291884563164141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/192291884563164141'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1302439175321#c192291884563164141' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1070949361'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-7603788381989302575</id><published>2010-12-06T08:03:55.330-08:00</published><updated>2010-12-06T08:03:55.330-08:00</updated><title type='text'>Hi Tomaz, First many thanks for you.

Please I hav...</title><content type='html'>Hi Tomaz, First many thanks for you.&lt;br /&gt;&lt;br /&gt;Please I have a question, when I set duplexMode=&amp;quot;MultipleMessagePerRole&amp;quot; and serverPoll=&amp;quot;00:01:00&amp;quot; for testing purpose I got the clinet channel Faulted event fired when the serverPoll timeout reached. When I dont set duplexMode,however, the channel Faulted event does not fire. Please could you explain for me this issue! And also &amp;quot;Sorry for that&amp;quot; could you explain what do we mean by Polling either server or client. I&amp;#39;ve read many msdn articles related to it and to the timeouts but am not feeling myself really understand it.&lt;br /&gt;&lt;br /&gt;Thanks in advance, and I really appreciate your hard work...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/7603788381989302575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/7603788381989302575'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1291651435330#c7603788381989302575' title=''/><author><name>Eyad</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2069518585'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-796220234246722748</id><published>2010-11-24T16:12:53.965-08:00</published><updated>2010-11-24T16:12:53.965-08:00</updated><title type='text'>Sumeet, there is a number of quotas that may affec...</title><content type='html'>Sumeet, there is a number of quotas that may affect this behavior. What is the size of the message you are sending? Are any exceptions thrown? Does Fiddler2 provide any insight into whether the message is leaving the server or not?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/796220234246722748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/796220234246722748'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1290643973965#c796220234246722748' title=''/><author><name>Tomasz Janczuk</name><uri>http://www.blogger.com/profile/14273379892104866795</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://2.bp.blogspot.com/_NUp_nWDyyvI/S0E4LaVBrmI/AAAAAAAABQ4/qtgB80y4O38/S220/D70-100-3785.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-998066009'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-4116954356940408768</id><published>2010-11-21T22:00:30.201-08:00</published><updated>2010-11-21T22:00:30.201-08:00</updated><title type='text'>Hi Tomasz thanks for answering previous posts that...</title><content type='html'>Hi Tomasz thanks for answering previous posts that helped a lot....&lt;br /&gt;&lt;br /&gt;One more concern we have now when we send large amount of data to the silverlight client it is not able to receive..it goes to faulted state...can u please suggest the cause of it and how we can resolve it...&lt;br /&gt;thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/4116954356940408768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/4116954356940408768'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1290405630201#c4116954356940408768' title=''/><author><name>sumeet</name><uri>http://www.blogger.com/profile/17730144298178256193</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-715374078'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-4125582475164060300</id><published>2010-11-19T09:18:07.854-08:00</published><updated>2010-11-19T09:18:07.854-08:00</updated><title type='text'>Bogdan, unfortunately there is no .NET client impl...</title><content type='html'>Bogdan, unfortunately there is no .NET client implementation of the HTTP polling duplex protocol from Silverlight, so you cannot call into a polling duplex service from a WPF application. You may want to check out http://laharsub.codeplex.com, an open source message server that is based on http polling duplex and comes with a .NET client (as well as Silverlight and jQuery).</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/4125582475164060300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/4125582475164060300'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1290187087854#c4125582475164060300' title=''/><author><name>Tomasz Janczuk</name><uri>http://www.blogger.com/profile/14273379892104866795</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://2.bp.blogspot.com/_NUp_nWDyyvI/S0E4LaVBrmI/AAAAAAAABQ4/qtgB80y4O38/S220/D70-100-3785.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-998066009'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-1078627078577540372</id><published>2010-11-19T07:25:59.518-08:00</published><updated>2010-11-19T07:25:59.518-08:00</updated><title type='text'>Hi! Can I use this duplex for a WPF client applica...</title><content type='html'>Hi! Can I use this duplex for a WPF client application? What about a xbap WPF application? Thanks! Bogdan I.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/1078627078577540372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/1078627078577540372'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1290180359518#c1078627078577540372' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-238922184'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-3321345850441544167</id><published>2010-11-10T08:15:59.423-08:00</published><updated>2010-11-10T08:15:59.423-08:00</updated><title type='text'>It was noted in an earlier comment, that clients t...</title><content type='html'>It was noted in an earlier comment, that clients that are shutdown, are not &amp;quot;unsubscribed&amp;quot; on the server.  the Original poster hinted at a solution but didn&amp;#39;t offer one.  I can&amp;#39;t seem to find a place to discover that the subscribing client is no longer there.  I would have expected some sort of exception on executing the callback.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/3321345850441544167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/3321345850441544167'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1289405759423#c3321345850441544167' title=''/><author><name>Ralph Shillington</name><uri>http://www.blogger.com/profile/02721161188998672816</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1680409006'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-7414311223813854211</id><published>2010-11-03T23:43:38.165-07:00</published><updated>2010-11-03T23:43:38.165-07:00</updated><title type='text'>Kristian

Let me make sure I understand your scena...</title><content type='html'>Kristian&lt;br /&gt;&lt;br /&gt;Let me make sure I understand your scenario: a WPF client is sending messages to the server using net.tcp binding. The server is forwarding these message to multiple Silverlight 4 clients using the HTTP polling duplex binding. Is that correct?&lt;br /&gt;&lt;br /&gt;One possible reason for the system to &amp;quot;disconnect&amp;quot; clients is that a networking component decides to terminate inactive TCP connections. This theory seems to be supported by the fact that the system under some load is stable. Two great tools that help to understand what is going on at the protocol layer are Fiddler2 (http://www.fiddler2.com/fiddler2/) and NetMon (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=983b941d-06cb-4658-b7f6-3088333d062f&amp;amp;displaylang=en). &lt;br /&gt;&lt;br /&gt;HTTP polling duplex protocol has a number of timeouts that may affect the behavior you are seeing. A comprehensive documentation of those is at http://blogs.msdn.com/b/silverlightws/archive/2010/07/16/pollingduplex-multiple-mode-timeouts-demystified.aspx. &lt;br /&gt;&lt;br /&gt;Lastly, the messaging pattern in your application indeed resembles a publish\subscribe flow. One technology that can be helpful in addressing the needs of your application is http://laharsub.codeplex.com. Laharsub is a pub\sub messaging server based on HTTP long polling. It comes with Silverlight, .NET, and jQuery clients.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/7414311223813854211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/7414311223813854211'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1288853018165#c7414311223813854211' title=''/><author><name>Tomasz Janczuk</name><uri>http://www.blogger.com/profile/14273379892104866795</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://2.bp.blogspot.com/_NUp_nWDyyvI/S0E4LaVBrmI/AAAAAAAABQ4/qtgB80y4O38/S220/D70-100-3785.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-998066009'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-3170911917304344410</id><published>2010-11-03T10:56:39.846-07:00</published><updated>2010-11-03T10:56:39.846-07:00</updated><title type='text'>An update to my previous post:

To achieve so many...</title><content type='html'>An update to my previous post:&lt;br /&gt;&lt;br /&gt;To achieve so many clients we had to start multiple instances of internet explorer on each computer (around 5). It seems that this can be the cause of the problem because when I tried on only one computer with multiple instances it seems to be a breakpoint at around 5 instances before clients starts to disconnect and reconnect.&lt;br /&gt;&lt;br /&gt;Do you have any clue why multiple instances of the application on one computer can cause the system to behave like this?&lt;br /&gt;&lt;br /&gt;Thanks for help!&lt;br /&gt;&lt;br /&gt;/Kristian</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/3170911917304344410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/3170911917304344410'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1288806999846#c3170911917304344410' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1455909852'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-2419137882239442694</id><published>2010-11-03T08:14:26.953-07:00</published><updated>2010-11-03T08:14:26.953-07:00</updated><title type='text'>Hi Tomasz,

Thanks for nice articles about the Sil...</title><content type='html'>Hi Tomasz,&lt;br /&gt;&lt;br /&gt;Thanks for nice articles about the Silverlight polling duplex.&lt;br /&gt;&lt;br /&gt;We&amp;#39;re developing a platform were we&amp;#39;re using pollingDuplex a lot for sending different commands (strings) from a WPF-desktop client over Net.TCP binding to Silverlight 4 clients.&lt;br /&gt;&lt;br /&gt;I guess that makes the service a pub/sub service. We&amp;#39;ve implemented many of your suggestions in this article and also in your article that talks about performance in polling duplex.&lt;br /&gt;&lt;br /&gt;We also have reconnecting logic in the clients and the clients ping the service every 15 seconds to tell the service that the client is still alive. If the ping does not succeed the client reconnects.&lt;br /&gt;&lt;br /&gt;A major problem we&amp;#39;re facing now is that when we connect many clients everything becomes very unstable. When more than 400 clients (approx) are connected clients begins disconnect and reconnect randomly.&lt;br /&gt;&lt;br /&gt;Also, the Net.Tcp connection for the desktop client becomes very unstable and faults a lot.&lt;br /&gt;&lt;br /&gt;When observing the CPU load on the server it looks good so I does not think that is the problem. The problems are actually only present when nothing is sent from the publishing client.&lt;br /&gt;&lt;br /&gt;However, if commands are sent from the desktop client to the service (and published to the SL-clients) at a higher frequency (about once every 5 seconds) the clients doesn&amp;#39;t disconnect but instead seems to stay connected (even if there are more than 400 connected).&lt;br /&gt;&lt;br /&gt;Can you draw any conclusions out of this? Can it be some timeouts that are configured in the wrong way? &lt;br /&gt;&lt;br /&gt;Any ideas?&lt;br /&gt;&lt;br /&gt;The service log file doesn&amp;#39;t provide much information.&lt;br /&gt;&lt;br /&gt;Help will be much appreciated!&lt;br /&gt;&lt;br /&gt;/Kristian</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/2419137882239442694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/2419137882239442694'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1288797266953#c2419137882239442694' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1455909852'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-5566604726390069451</id><published>2010-10-25T09:49:48.710-07:00</published><updated>2010-10-25T09:49:48.710-07:00</updated><title type='text'>Sumeet, yes, in Fiddler you should be able to see ...</title><content type='html'>Sumeet, yes, in Fiddler you should be able to see the multiplexing in action: each HTTP long poll contains two pieces of information: the client ID that uniquely identifies an instance of a Silverlight application, and a session ID that uniquely identifies an instance of a client proxy within this application. Every message in the HTTP long poll response targets a specific session ID. You can read more about the protocol itself at http://tomasz.janczuk.org/2009/09/scale-out-of-silverlight-http-polling.html. &lt;br /&gt;&lt;br /&gt;You should not worry about this mechanism working correctly our of the box, unless we have not done our job right testing it. If you find an issue, please let me know.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/5566604726390069451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/5566604726390069451'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1288025388710#c5566604726390069451' title=''/><author><name>Tomasz Janczuk</name><uri>http://www.blogger.com/profile/14273379892104866795</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://2.bp.blogspot.com/_NUp_nWDyyvI/S0E4LaVBrmI/AAAAAAAABQ4/qtgB80y4O38/S220/D70-100-3785.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-998066009'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-581388827752619701</id><published>2010-10-25T09:44:27.015-07:00</published><updated>2010-10-25T09:44:27.015-07:00</updated><title type='text'>Mahdi, WebSockets is an upcoming protocol standard...</title><content type='html'>Mahdi, WebSockets is an upcoming protocol standard for duplex communication on the web, and it is going to be far superior to any http long polling solution, including HTTP Polling Duplex in Silverlight. Check out http://tomasz.janczuk.org/2010/07/silverlight-html5-websocket-client-with.html for more information. &lt;br /&gt;&lt;br /&gt;Note that as of today WebSocket implementation is not available in .NET Framework or Silverlight. &lt;br /&gt;&lt;br /&gt;All Flash based solutions I have seen are using one form or another of HTTP long polling, but I would not be surprised to see a websocket implementation as well at this point. &lt;br /&gt;&lt;br /&gt;There is more to a chat application than just a duplex messaging capability either websockets or http long polling protocols provide. You need to organize your message flow such that messages are exchnaged between clients, not just between the server and a client. Chat applications I have seen typically use a publish\subscribe message exchange pattern (that utilizes a duplex messaging protocol underneath for low notification delivery latency). One pub\sub solution suitable for implementing chat with Silverlight clients (or JavaScript clients) is at http://laharsub.codeplex.com. Check it out.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/581388827752619701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/581388827752619701'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1288025067015#c581388827752619701' title=''/><author><name>Tomasz Janczuk</name><uri>http://www.blogger.com/profile/14273379892104866795</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://2.bp.blogspot.com/_NUp_nWDyyvI/S0E4LaVBrmI/AAAAAAAABQ4/qtgB80y4O38/S220/D70-100-3785.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-998066009'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-6828667492632590763</id><published>2010-10-24T23:51:27.855-07:00</published><updated>2010-10-24T23:51:27.855-07:00</updated><title type='text'>Thanks for quick response...

If my understanding ...</title><content type='html'>Thanks for quick response...&lt;br /&gt;&lt;br /&gt;If my understanding is correct this is expected what we could see in Fiddler..the multiplexing of the messages.it gets de-multiplexed and sent to the respective clients ..regardless of the the request URL.&lt;br /&gt;&lt;br /&gt;we need not worry about it..correct?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/6828667492632590763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/6828667492632590763'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1287989487855#c6828667492632590763' title=''/><author><name>sumeet</name><uri>http://www.blogger.com/profile/17730144298178256193</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-715374078'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-2340012047238813233</id><published>2010-10-24T13:25:11.389-07:00</published><updated>2010-10-24T13:25:11.389-07:00</updated><title type='text'>Hi Tomasz,

What&amp;#39;s the difference between HTML...</title><content type='html'>Hi Tomasz,&lt;br /&gt;&lt;br /&gt;What&amp;#39;s the difference between HTML5 WebSockect API&lt;br /&gt;and WCF Polling Duplex? &lt;br /&gt;&lt;br /&gt;For creating a chat application which is better?&lt;br /&gt;As you say, in a HTTP long polling, the server may be faulted, is this right for WCF polling duplex with net.TCP binding and HTML5 WebSocket API? &lt;br /&gt;&lt;br /&gt;I saw flash chat rooms work well in duplex communication what api uses for flash duplex communication&amp;#39;s?&lt;br /&gt;&lt;br /&gt;Finally, if you want to create a real web chat, Which would you use(in Silverlight)?&lt;br /&gt;&lt;br /&gt;thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/2340012047238813233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/2340012047238813233'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1287951911389#c2340012047238813233' title=''/><author><name>Mahdi</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-821341153'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-7052899569507480865</id><published>2010-10-22T10:04:06.653-07:00</published><updated>2010-10-22T10:04:06.653-07:00</updated><title type='text'>Sumeet, even if you have several client proxies ca...</title><content type='html'>Sumeet, even if you have several client proxies calling several services using the HTTP polling duplex protocol, you shoudl only ever see up to one outstanding HTTP long poll request. Regardless what the request URL of the HTTP long poll is, we multiplex notifications sent from any of the backend services onto the poll response. The notifications should be correctly dispatched to appropriate proxy instances on the client side. This mechanism is meant to minimize the TCP connection use in a browser enviroment, since browsers impose a quota on the maximum number of concurrent HTTP requests to a single backend server.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/7052899569507480865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/7052899569507480865'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1287767046653#c7052899569507480865' title=''/><author><name>Tomasz Janczuk</name><uri>http://www.blogger.com/profile/14273379892104866795</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://2.bp.blogspot.com/_NUp_nWDyyvI/S0E4LaVBrmI/AAAAAAAABQ4/qtgB80y4O38/S220/D70-100-3785.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-998066009'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-7514909565363620643</id><published>2010-10-21T23:07:59.712-07:00</published><updated>2010-10-21T23:07:59.712-07:00</updated><title type='text'>Hi Tomasz,
 
thanks for such nice explanation...

...</title><content type='html'>Hi Tomasz,&lt;br /&gt; &lt;br /&gt;thanks for such nice explanation...&lt;br /&gt;&lt;br /&gt;we are using pubsub implementation and we have 3 different pubsubs services hosted in iis7 under same application pool.. &lt;br /&gt;&lt;br /&gt;we are facing some problem with it..actually when we see the data in client side with fiddler...we could see the messages are mixed for the services...one service data is coming from other service...&lt;br /&gt;&lt;br /&gt;for example alarm service is sending data for trend service...which is not expected..even we do have different class objects for different services&lt;br /&gt;&lt;br /&gt;can u please suggest what could be the reason for it..&lt;br /&gt;&lt;br /&gt;Thanks.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/7514909565363620643'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/7514909565363620643'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1287727679712#c7514909565363620643' title=''/><author><name>sumeet</name><uri>http://www.blogger.com/profile/17730144298178256193</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-715374078'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-2512786653280451693</id><published>2010-10-13T23:20:21.142-07:00</published><updated>2010-10-13T23:20:21.142-07:00</updated><title type='text'>Tomasz I learn more with your great and quick resp...</title><content type='html'>Tomasz I learn more with your great and quick responses, Articles and video.&lt;br /&gt;&lt;br /&gt;Very Thanks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/2512786653280451693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/2512786653280451693'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1287037221142#c2512786653280451693' title=''/><author><name>Mahdi</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1039516053'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-7032096438998907307</id><published>2010-10-13T15:41:10.304-07:00</published><updated>2010-10-13T15:41:10.304-07:00</updated><title type='text'>Mahdi, creating a new polling duplex proxy instanc...</title><content type='html'>Mahdi, creating a new polling duplex proxy instance on the client will result in a new sessionId.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/7032096438998907307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/7032096438998907307'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1287009670304#c7032096438998907307' title=''/><author><name>Tomasz Janczuk</name><uri>http://www.blogger.com/profile/14273379892104866795</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://2.bp.blogspot.com/_NUp_nWDyyvI/S0E4LaVBrmI/AAAAAAAABQ4/qtgB80y4O38/S220/D70-100-3785.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-998066009'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-2152094743861369155</id><published>2010-10-13T14:22:50.856-07:00</published><updated>2010-10-13T14:22:50.856-07:00</updated><title type='text'>OK-and if I create a new instance I have a new ses...</title><content type='html'>OK-and if I create a new instance I have a new sessionId,yes?&lt;br /&gt;finally I haven&amp;#39;t problem with changing sessionId because I used user names for identify and can change the sessionId property of my clients in the server with a special userName after I create a new instance of my proxy.&lt;br /&gt;&lt;br /&gt;Thanks a lot Tomasz</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/2152094743861369155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/2152094743861369155'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1287004970856#c2152094743861369155' title=''/><author><name>mahdi</name><uri>http://www.blogger.com/profile/06460854233074616587</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-508918292'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-3606053143111108033</id><published>2010-10-13T13:32:56.408-07:00</published><updated>2010-10-13T13:32:56.408-07:00</updated><title type='text'>Tomasz,
     Thank you for the quick responses and...</title><content type='html'>Tomasz,&lt;br /&gt;     Thank you for the quick responses and great info.&lt;br /&gt;James</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/3606053143111108033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/2791317916382395119/comments/default/3606053143111108033'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html?showComment=1287001976408#c3606053143111108033' title=''/><author><name>James</name><uri>http://www.blogger.com/profile/11925332155745581787</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/07/pubsub-sample-using-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-2791317916382395119' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/2791317916382395119' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-710196875'/></entry></feed>
