Click here to Skip to main content
15,910,471 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to continuously monitor a process and find when the process is over in asp.net with c#?I have started a windows service process and its working after a while. But I want to monitor the same continuosly and find whether the process is over.
Posted

1 solution

You may manage an event Source with log in EventLog. and read that log in your website to monitor if the service has logged its stop message or not. (or you may keep showing foreeach log after custom defined duration).

To Manage Event Log Read this[^]
 
Share this answer
 
Comments
Rahul 105 10-Jan-14 5:50am    
I am using asp.net and in the service variuos updations and validations are checked. The issue is only after a while on clicking the button repeatedly the status changes.
Zubair Alie 10-Jan-14 6:01am    
what you want to show in asp.net (from your NT service)?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900