Questions tagged [pollingduplexhttpbinding]

58 questions
1
vote
2 answers

Closing a session with PollingDuplexHttpBinding

I'm using the WCF PollingDuplexHttpBinding channel to push notifications to Silverlight clients. For the most part it works well but I'm fighting it to get a few basis session management functions to work properly. The biggest problem I've got is…
sipsorcery
  • 30,273
  • 24
  • 104
  • 155
1
vote
0 answers

WCF: Randomly does not respond

I have a peculiar problem with client requests randomly not getting a response to a WCF service call. The setup is a Silverlight 5 application making calls to a WCF service, using both HTTP and PollingDuplex bindings. The SL makes a number of…
1
vote
1 answer

Second wcf polling duplex service call is too long

I have strange problem with WCF service. I use pollingDuplexBinding and Silverlight client. Binding was registred by this code in web.config
Mikhail
  • 11
  • 1
1
vote
0 answers

Silverlight 4 WCF Polling Duplex doesn't work in IIS Express

I have a silverlight 4 chat program that uses a WCF service with pollingDuplexHttpBinding. The program works OK In: * Cassini * IIS Local Web Server * All non-Duplex WCF Services work fine in any setting But it does NOT work in IIS 7.5 Express. A…
seattleite7
  • 350
  • 1
  • 5
  • 15
1
vote
1 answer

WCF & Silverlight >> pollingDuplexHttpBinding >> Calling web services from silverlight as the browser is closed

I have WCF server and Silverlight client using pollingDuplexHttpBinding binding . I wanna close the connection and call the EndSession operation method , which clears the user from active users list, and close the session ( IsTerminating = true …
Zakos
  • 1,492
  • 2
  • 22
  • 41
0
votes
1 answer

Exception: Content Type application/mspd1 was sent to a service expecting application/soap+msbin1

I have WCF service and Silverlight Client. I use PollingDuplexElement. On server side I have following configuration.
Artiom
  • 7,694
  • 3
  • 38
  • 45
0
votes
2 answers

WCF Service Reference generates an empty reference.cs due to DuplexBinding

I have WCF service. Here is configuration
Artiom
  • 7,694
  • 3
  • 38
  • 45
0
votes
1 answer

Escaping from Affinity while Polling in the Azure Cloud

I am trying to build an application in Windows Azure that requires notifications - so I am using Http Polling, but I got a problem. I need to get to the very same instance of my web role so I can maintain the polling. I found a solution with web…
Ilian Iliev
  • 1,866
  • 1
  • 13
  • 13
0
votes
1 answer

Unrecognized element 'pollingDuplexHttpBinding' in service reference configuration

Im using WCF with two endpoints basicHttpBinding and pollingDuplexHttpBinding. Consuming WCF in Silverlight 4. If I have alone basic.. and polling.. it works good. But if I used both in one service and one silverlight project I got message on client…
Musketyr
  • 745
  • 1
  • 16
  • 37
0
votes
1 answer

PollingDuplexHttpBinding and app pool recycles

I use a PollingDuplexHttpBinding so that clients can exchange messages in my application. Clients are registers via a RegisterClient() method that adds them to a static dictionary for future use. The code looks like this: [ServiceContract(Namespace…
Xavier Poinas
  • 19,377
  • 14
  • 63
  • 95
0
votes
1 answer

Need guidance on getting data to Silverlight app via ASP.NET/WCF

First of all thank you for any help. I have looked extensively and haven't found a sure solution, so here I am... Basically I am developing an asp.net (4.0) app. One webform represents a report and is divided into two pieces: - a div that acts…
0
votes
1 answer

Is it possible to increase the Maximum String Content Length property of a Polling Duplex binding without converting to Custom binding?

I am using Polling Duplex Binding for the communication between my Silverlight client application and my WCF web service. I push messages from the Silverlight web applciation to the WCF web service by calling asynchronously a method from the web…
Ina
  • 25
  • 5
0
votes
1 answer

WCF - How to delay task for specified amount of time?

I have WCF WebService for Silverlight client. Let's say client click "Make building". Service will receive new task, and star counting time, until it's ready to make action (i.e add to database). Time - how much time task will need to complete (i.e…
Łukasz Baran
  • 1,229
  • 3
  • 24
  • 47
0
votes
1 answer

Multi Room Chat Application using SilverLight 4.0 and PollingDuplex

I'm looking for a sample or guidelines to build a multi room chat application using SL 4.0 and PollingDuplex. Any help ?
Yoann. B
  • 11,075
  • 19
  • 69
  • 111
0
votes
2 answers

WCF polling duplex session

I have a Silverlight client which tries to create a session but the server doesn't respond (the client throws a timeout exception). In the server log I've found:
Dmitry Borovsky
  • 558
  • 7
  • 23