search
Japanese Chinese Nederlands Espanol Italiano Deutsch Francais Twitter Rss Feeds
.NET Framework GroupsView
Deployment Server
.NET Distributed_Apps
.NET
.NET ADO.NET
.NET ASP.NET
.NET ASP.NET Security
.NET ASP.NET Webcontrols
.NET ASP.NET Web Services
.NET Clr
.NET Compact Framework
.NET Drawing
.NET Interop
.NET Micro Porting
.NET Performance
.NET Web Services
.NET Windows Forms
.NET Windows Forms Controls
.NET General
.NET Csharp
.NET Visual Basic
.NET Vc
.NET Security
.NET Xml
Scripting Jscript
Scripting Visual Basicscript
Scripting Wsh
Smartphone Developer
Visual Basic Com
Visual Basic Controls
Visual Basic Crystal
Visual Basic Database Ado
Visual Basic Syntax
Visual Basic Vista Compatibility
Visual Basic Winapi
Vc Atl
Vc Debugger
Vc Language
Vc Mfc
Vc Stl
Visio Developer Visual Basica
Vsnet Debugging
Windows Powershell
Windowsce Embedded Vc
Xml
Xsl

Group SummariesView
.NET Framework
Access
BizTalk
Certifications
CRM
DDK
Exchange Server
FoxPro
French
French .NET
Games
German
German .NET
Graphic Design
IIS
Internet
ISA Server
Italian
Italian .NET
Maps
MCIS
Miscellaneous
Mobile Application Development
Money
MSN
Networking
Office
Ops Mgr
Publisher
Security
SharePoint
Small Business
Spanish
Spanish .NET
SQL Server
Systems Management Server
Transaction Server
Virtual PC / Virtual Server
Visual Studio
Win32
Windows 2000
Windows 2003 Server
Windows 7
Windows Live
Windows Media
Windows Update
Windows Vista
Windows XP
 

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

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.
reply
 

How to send log message from a Windows (NT) service to a WinForms application using WCF? - Mr. Arnold

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
reply

Previous Microsoft NET Csharp conversation.