I created a very small web monitoring application that periodically checks other sites to see if they are alive. If they are not there, an email has been sent to me so that I can respond (for example, if the site responds 503)
However, my problem is that the monitor web application is disconnected when AppPool is processing, and it never started again because it does not receive requests.
Is there a way to make sure it starts again after rebooting, rebooting the server or similar?
It currently runs the background thread in global.asax Application_Start, and then the thread is responsible for saving the monitor web application by polling it, as well as other sites.
That way, he will receive an HTTP request so often. However, this obviously only works to keep it operational when it really started.
I read a little about the IIS Warm Up modules, however the site is hosted on a server that I did not influence, so this is not possible.
The site was built using ASP.Net 4.0 and runs on the IIS 7.5 server.
Hope you have an idea :-)
source share