I have a subscribe - publish WCF service, the service is hosted in a Windows Service. The data the Windows Service processes is being sent to subscribed clients. For some methods I need to use callbacks to Client Request from Service. However I also need to publish the data the Service is continuously generating through it's tasks (once per second sending updates to the clients). Using the Callback method to do this you guessed it when more than one method is sending lots of data I get a crash of the communicationobject. I read this WCF CallBack Blocks other Callbacks , which for him worked - in my scenario I have multiple methods pushing data (about 30 rows x 12C) every 1 second. Since my Client hangs and the CommunicationObject goes bust I can not send. I would like to know if I can just have a DuplexChannel for the subscribing and general functions and then when I need to publish just add a separate Channel maybe create it on the fly in the service and send the data? If there is anyone with any experience or samples of this I would appreciate it.
Or maybe you can tell me I am all wrong in this and WCF will send callbacks at this rate to multiple methods with no problems and here is a sample how to do that. My current settings are: It is a singleton service - running 24/7 subscribers are stored in a dictionary. InstanceContextMode=InstanceContextMode.Single, ConcurrencyMode = Multiple, UseSynchronizationContext=true NetTcpBinding. Any help is appreciated.