The name says a lot about everything. Some reservations:
- I need to be able to do this in C #
- It must be executed from a remote server (i.e. it works on one server, checks IIS on another)
- Need to be close to real time (within 1 second)
- May use WMI calls
I tried to look at the log file, but it turns out that it is almost not close to real time.
Thanks!
EDIT: I put this in a comment on Tom's answer, but it is more noticeable here:
I managed to find the changes using this counter:
var perf = new PerformanceCounter("ASP.NET Apps v2.0.50727", "Requests Total", "_LM_W3SVC_[IIS-Site-ID]_ROOT", "[Server-Name]");
c # iis wmi
Daniel Schaffer
source share