?
Solved

How to get status from Windows service on a server?

Posted on 2009-07-06
5
Medium Priority
?
320 Views
Last Modified: 2012-05-07
I plan to create a .NET windows service to perform data conversion on a server.  I would like to be able to get status information from this service, such as details on the file being converted, from any other PC on the network.  I can use .NET 2.x or 3.x.

What is the best way to get this information from a windows service?

Thank you for your help.
0
Comment
Question by:Tom Sage
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 14

Expert Comment

by:shahprabal
ID: 24786878
You can have it call a webservice with the status msg, you can write the info to the windows log, you can popup a notify icon, etc.
0
 
LVL 14

Accepted Solution

by:
shahprabal earned 750 total points
ID: 24786901
I like the webservice option since that way if you want to change the processing of the status you don't have to recompile, redeploy the service. Your webservice decides what to do with the status info so you can change it easily.
0
 
LVL 14

Expert Comment

by:shahprabal
ID: 24786916
Also, if you later need to pass this info to another (web)application, it will be very easy to plug into the webservice.
0
 
LVL 15

Assisted Solution

by:jinal
jinal earned 750 total points
ID: 24787383
There are many ways to do it.

1. Web Service ( Already defined in previous comments)
2. Event Log and Access Event log using server .
3. Window Service and capture their event outside using Service controler.
4. Maintain Custom XML Log file.
0
 

Author Closing Comment

by:Tom Sage
ID: 31600235
Thank you for your help.  I will investigate these options.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses
Course of the Month10 days, 2 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question