For an ASP.NET application, is there a way to tell whether anyone is connected to the application, or if the web server is idle with no connections?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
WMI can be used to get the status of the web server (see this post for an example). I am not sure on checking the startup status of the application. Perhaps if it were in its own AppPool, you could check the status of the pool.