N
Nenefta
Hi all,
I created a website in .Net 2005. I wanted to use Health monitoring to
keep track of the amount of pagerequests coming in. If that number
exceeds a certain value, I want to reroute new users to another page.
Therefore, in my solution I have a project to read the specific
Performance Counter I need. My web.config is set up to call this
function every 10 sec. (using the HeartbeatWebEvent). The performance
counter will not give any values in this setup however.
When I directly read the Performance Counter from my global.asax, I do
get the specific values.
I guess my original setup does not work because another process
initiates the WebEvent but I do not know how to solve it.
Any directions would be appreciated!
Grtx,
Marcel van Oort
..Net developer
I created a website in .Net 2005. I wanted to use Health monitoring to
keep track of the amount of pagerequests coming in. If that number
exceeds a certain value, I want to reroute new users to another page.
Therefore, in my solution I have a project to read the specific
Performance Counter I need. My web.config is set up to call this
function every 10 sec. (using the HeartbeatWebEvent). The performance
counter will not give any values in this setup however.
When I directly read the Performance Counter from my global.asax, I do
get the specific values.
I guess my original setup does not work because another process
initiates the WebEvent but I do not know how to solve it.
Any directions would be appreciated!
Grtx,
Marcel van Oort
..Net developer