Questions tagged [duplex]

A duplex communication system is a point-to-point system composed of two connected parties or devices that can communicate with one another in both directions, simultaneously.

A duplex communication system is a point-to-point system composed of two connected parties or devices that can communicate with one another in both directions, simultaneously. An example of a duplex device is a telephone.

338 questions
8
votes
1 answer

Long-running callback contract via WCF duplex channel - alternative design patterns?

I have a Windows service that logs speed readings from a radar gun to a database. In addition, I made the service a WCF server. I have a Forms and a CF client that subscribe to the service and get called back whenever there is a reading that…
cdonner
  • 37,019
  • 22
  • 105
  • 153
8
votes
3 answers

Progress notification in WCF for long running processes - How?

I have to design and implement a way to deal with long running processes in a client/server application. A typical long running process would/could take 2-3 minutes. I also need to report progress to the UI in the meantime and keep the UI…
Andrei Rînea
  • 20,288
  • 17
  • 117
  • 166
8
votes
1 answer

duplex operation between two processes using named pipes in c#

I am trying to use named pipes to communicate between a server and a client process on the same machine. server sends a message to client, client does something with it and returns a result, and server is supposed to get the result. here is the code…
jambodev
  • 351
  • 2
  • 3
  • 9
7
votes
1 answer

confusion regarding bidirectional and full-duplex in articles about http/2

Some articles describing http/2 are praising it for being both bidirectional and full-duplex. AFAIK bidirectional means that communication is in both directions so duplex is by its nature bidirectional, yes? Duplex can be created by one simplex…
marzelin
  • 10,790
  • 2
  • 30
  • 49
7
votes
2 answers

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…
NLV
  • 21,141
  • 40
  • 118
  • 183
6
votes
1 answer

Memory leak in WCF (Duplex) on Server

Hi have quite a problem with an Service running WCF in duplex-mode. It leaks memory (not much but it's about 80MB a day) and after having a memory-profiler running alongside the service for 24 hours I found most of the memory sitting in byte[]…
Random Dev
  • 51,810
  • 9
  • 92
  • 119
6
votes
2 answers

Wcf callback net tcp duplex only 1 way faulted

I have a self hosted wcf service using net tcp duplex callback on client side, I listen on faulted event on Channel and ChennelFactory. when the channel faulted, client will recreate channel and re-subscribe. on server side, I store callback channel…
Yuan
  • 2,690
  • 4
  • 26
  • 38
6
votes
1 answer

Identifying clients in a WCF service

I have a working duplex WCF service with WSDualHttpBinding. My problem is figuring out a way to store the callback channel with a unique id. The service is intended to be long-running. Can I simply grab the…
Tamás Szelei
  • 23,169
  • 18
  • 105
  • 180
6
votes
0 answers

Wkhtmltopdf print in duplex

Somebody know way to print in duplex. So i have problem, because i have summary file where is a lot of statements. I have to print in duplex and problem is with print it, because sometimes statements have odd numer page and last page is print on…
kotlin
  • 61
  • 2
6
votes
1 answer

Duplex callback is always anonymous

I've written a WCF duplex service and client. Everything works well until I try to call .Demand() in the client implementation. It appears that the the service invokes the callback method Anonymously. I think I am missing how to correctly…
Peter
6
votes
0 answers

Wia 2.0 duplex scanning throw exception "System.outofmemoryException" C#

I'm using WIA on C#. When I set the properties "pages" to 1 and "docuemnt handling select" to 5 (to enable AFD and Duplex scaning), I get an exception at the method "wiaCommonDialog.ShowTransfer". The exception is "System.OutOfMemoryExcepion". Can…
6
votes
1 answer

WCF Duplex Contract

Say I have WCF service contract like this [ServiceContract(CallbackContract = typeof(ICallback1), SessionMode = SessionMode.Required)] public interface IService1 { // some methods } The service implementation has InstanceContextMode.Single set…
Bala R
  • 107,317
  • 23
  • 199
  • 210
6
votes
2 answers

Silverlight Polling Duplex with HTTPS

Is it possible to have Silverlight Polling Duplex WCF working with HTTPS?
6
votes
2 answers

Duplex Postscript - Force new page

Is there an easy way to force a postscript page onto a new physical page without inserting a blank page? e.g. Say I have a PS document with 10 postscript pages, which needs to print into different document bundles : 1 - Physical Page 1 Front Side 2…
Dane
  • 619
  • 5
  • 14
6
votes
5 answers

WCF ServiceHost.Close() Delay

I have a simple WCF duplex TCP service that I am trying to stop programmatically. If I don't have any connected users, ServiceHost.Close() is very quick but if I even have one connected user, I find the Close() function to take quite a bit of time,…
Jasper Chan
1
2
3
22 23