What i want to do is running a windows service (c#) which gathers some information which i want to display in my asp.net web forms site. The windows service has a timer so that code can be run periodically.
The purpose of my application is to manage windows services (restart, check if they are stuck etc.). Furthermore there is the exact same monitoring service on a different server which checks the other one (monitoringService1 monitors monitoringService2 + some normal services and vice versa). This is why the monitoringService is a service too.
Can you guys give me any hints how i can pass my data from the win service to my web forms?
Thank you in advance!
best regards,
r3try
You can store the data from the results of your Windows Service in a log or a database, then read the same data from your asp-net application. I would recommend the database way.