duplex

What does "OperationContext.Current.GetCallbackChannel" actually do?

What does OperationContext.Current.GetCallbackChannel actually do? How does it identify each and every client? I'm facing a problem in my WCF service. If more than two users get connected to the service all the "interesting Changes" i'm sending from service to the clients are going to the second joined user. For ex, If A, B, C, D joins...

WCF Duplex timeout problem

Hi, I've been searching the web for the last two days, but by no means, I can get my WCF Duplex service working. I've created a demo project which can be download from skydrive: WCFDuplexDemo.zip For the purpose of minimizing the number of possible error causes, I've decided to just return a short string in the callback handler becaus...

Duplex WCF service - Direct call and callback do not use same channel

Hi, My goal is to reach a WCF service behind a firewall with no incoming ports opened. The solution I chose is to host a duplex WCF service on the public side, that has as callback the same contract that was used if no firewall was involved. It worked if I used netTcpBinding but since I need streamed communication I had to use the cust...

WCF Duplex Callback Sample failing

In an effort to hone some example services to be used as reference for our internal scenarios, I've created this WCF Duplex Channel example, pulling together several examples found through the years. The duplex part isn't working and I'm hoping we can all figure it out together. I hate posting this much code, but I feel I've trimmed th...

Seeking WCF Duplex "TwoWay" Subscribe+Callback Example

Renewing the bounty AGAIN because I really need to know how to get this to work, or a definitive answer about why it won't. I've added an alternative explanation of the problem here. Having a hell of a time getting a two-way (IsOneWay = false) WCF client-server to work in .Net 3/3.5. After the client successfully enrolls with the serv...

WCF service interface exchange

Hi I want to avoid the duplex Chanel in WCF and create callback service on client, pass the client address to server so the server can call the client any time. (maybe different binding etc.) How can I pass the callback interface to the client? (I still want the server to manage this interface and to avoid put it in seperate DLL. Any ...

SL4 HttpPollingDuplex binding in IIS5.1

I am trying to add a http polling duplex service into my website. I am using IIS5.1 on Windows XP. When I add reference to the System.ServiceModel.PollingDuplex.dll (ver 4), VS gives me this warning: "System.ServiceModel.PollingDuplex.dll", or one of its dependencies, requires a later version of the .NET framework than the one specifie...

duplex wcf service data transfer speed in IIS

I have a web service which sends messages back to the client via callback interface. The messages are sent on a different thread. The performance is pretty good when the service is self-hosted. However, when hosted in II5, the messages are sent at slower speed. For example, on a self-hosted service, it takes 0.2s to send a 200KB messag...

Silverlight Polling Duplex with HTTPS

Is it possible to have Silverlight Polling Duplex WCF working with HTTPS? ...

Webservice(s) become unresponsive when multiple clients are connected using polling duplex binding

Hello all, I have a duplex enabled service where clients register themselves to receive notifications. In the same AppPool I have another, regular web service which is used by the clients to communicate with the server. Sending something to this web service will trigger a notification to all connected clients. All works fine until 12, 1...

StreamedResponse with Silverlight 4 polling duplex not sending updates

I'm trying to enable a streamed response using Silverlight 4 and polling duplex, but I'm getting strange behaviour when the rate at which updates are sent to the client is greater than the maxOutputDelay, which results in no updates being sent. For example, with a maxOutputDelay of 7 seconds, and 1 update sent every 10 seconds, everythi...

WCF CustomBinding + Duplex+ BinaryEncoding + No Security Cannot Call back

I have a Duplex service (Singleton), which used to work with WSDualHttpBinding, and after changing it to duplex CustomBinding to support BinaryEncoding for performance reasons, it stopped working. The problem traces to GetCallBackChannel always returns with same HashCode (within that service instance) for all the client requests and the ...

WCF Duplex - How to find Client's Callback URL?

How to find the Client's Callback URL for a duplex HTTP binding, from within the service (WCF 3.5)? Appreciate any help.. ...

WCF data services callbacks?

Hi, I've got WCF data service based on EF edmx model. My question is it possibel to implement a callbacks (like in duplex service)? In order to consume live data coming from sql database. cheers Valko ...

When to use WCF duplex vs datagram?

My app is master/slave system where slaves can send messages to the master based on a (local) event and master sends messages to the slave also based on local events. In both cases they may send outgoing messages based on incoming messages. Sometimes these reponses may only be sent after human interaction - not immediately (and connecti...

Consume a wcf duplex service in console application

I have a wcf duplex service with work fine in silverlight. but the same service I want to consume in windows console application. My code as follow: var context = new InstanceContext(this); var address = new EndpointAddress("http://localhost:31881/PubSubService.svc"); var binding = new CustomBinding( new Pollin...

WIA 2.0 Duplex property

Hello, I am developing an aplication with C# to use the WIA 2.0 library. At the moment I could use most of the features, such as ADF (auto document feeder), filters and more. Now, I need to use the duplexer of my scanner (fujitsu). I'm trying to set the WIA_DPS_DOCUMENT_HANDLING_SELECT scanner property to the DUPLEX value. See the cod...