2

I have a Windows Service which performs some data collection from a serial device connected to my PC. This Windows Service hosts a WCF service over named pipes which can then be used my one of my applications in order to query the serial data.

The problem is that I want to send log messages from the service to the application sometimes - for example I would like to send a log message to the application every time a certain value is received over the serial connection.

The WCF over named pipes is working really well for pulling service information from the application, but what I want to do is push some values from the service to the application every now and again in addition.

Any ideas?

AK

KingCronus
  • 4,509
  • 1
  • 24
  • 49

1 Answers1

2

We solved this problem recently. Our solution can be find at flexbit.at (German) with a downloadable sample project. For further info you may contact Daniel - he solved this.

dasheddot
  • 2,936
  • 4
  • 26
  • 33
  • 1
    Wow...that is almost an identical problem! Time to see how good my German is...thanks! – KingCronus Dec 06 '11 at 10:26
  • Turns out this is a much more difficult task than I anticipated. I seem to be having some issues with the singleton, I'll have to create a couple of test projects I think to see where I am going wrong. – KingCronus Dec 07 '11 at 10:47
  • Could you please answer http://stackoverflow.com/questions/9702379/queuing-in-oneway-wcf-messages-using-windows-service-and-sql-server ? – LCJ Mar 14 '12 at 12:56
  • 1
    Hi, is it possible for you to email me the sample project zip file? the link for it got error. – Ijat Melora Feb 07 '13 at 07:47
  • 1
    The link to the solution is broken. Please reset the link. – ryyker Apr 16 '13 at 23:01