|
| View All Microsoft NET Csharp Posts Ask A New Question |
|
How to send log message from a Windows (NT) service to a WinForms application using WCF? |
Susan Harris posted on Friday, June 06, 2008 2:31 PM
|
I have a Windows (NT) service developed in .NET 3.5 (VS2008). I want this
service to log messages to a WinForms application that will display it's
progress to the user. It has to run under Vista, so I can't use an
interactive service. The monitoring application will just display a list of
these log entries as they arrive.
I'd like to use WCF (using it to consume a third party web service already).
However, I can't fnd any examples that show me have to *push* data to
another application using WCF. All the simple examples seem to have the
client calling a function in the service that returns a string message.
Doesn't anyone know of any sample code that shows how to do this? I'd have
thought the need to monitor a service was common enough there there would be
the odd tutorial. |
 |
|
| |
|
|
How to send log message from a Windows (NT) service to a WinForms application using WCF? |
Mr. Arnold posted on Friday, June 06, 2008 5:13 PM
|
You mention Vista. This may work for you. I don't think it makes a
difference if it's a WCF solution. You just need a object that's used by WCF
that broadcasts messages that another application such as a Windows Desktop
based will listen for the messages.
http://www.codeproject.com/KB/dotnet/XDMessaging.aspx |
 |
|
|
|
|
| Previous Microsoft NET Csharp conversation. |