New Posts New Posts RSS Feed: Polling Duplex  with 1 seconds interval
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Polling Duplex with 1 seconds interval

 Post Reply Post Reply
Author
rasmus View Drop Down
Groupie
Groupie


Joined: 05-Aug-2009
Location: Denmark
Posts: 63
Post Options Post Options   Quote rasmus Quote  Post ReplyReply Direct Link To This Post Topic: Polling Duplex with 1 seconds interval
    Posted: 27-Apr-2012 at 2:49am
Hi
 
I have downloaded your sample from http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-push-notification for SL. If I change the sample to push to the client every 1 second instead of 5, the app does not work. I am aware that I probably need to change som settings for the polling duplex binding. Can you show me a web.config file for the sample where this is setup?
 
Thanks,
 
Rasmus
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 27-Apr-2012 at 12:03pm
We haven't seen this problem in our own testing, but the polling duplex binding is known to be somewhat quirky and you may see different behaviors with different browsers.  I've attached a sample with both web.config and ClientConfig files here - uploads/11/PushWithConfigs.zip.  I would focus on the MaxOutputDelay setting on the server, as I've seen some references to that causing a problem if it's set lower than your send interval. 
 
Here's some more information on the various config settings you can work with -
 
You can also set these in code via the ServiceProxyEvents and SerivceHostEvents classes, but I don't have a sample available for Push at the moment.  You can read more about these classes here - http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-custom-client-configuration and http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-custom-server-configuration.
 
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down