473,503 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET 2.0 HealthMonitoring WebApplicationLifetimeEvent

Dan
Hello,

I am using the Health Monitoring in asp.net 2.0 but came accross a
problem. I want to get information such as request execution time,
requests/sec, etc but the object doesn't expose me those information.
I know those information are available somewhere because when I add it
as a counter to the performance monitor, I manage to get those
information.

Is there a way to get that information within the code in order for me
to log those information in my custom provider? I don't want to use
the PerfMon.

Thank you

Feb 5 '07 #1
2 2173
Dan
Actually I was mistaken,
WebApplicationLifetimeEvent would give me information such as
application start, compilation start etc.

So to rephrase my question: Is there a way to access the counter
information object in the code?
I am interesting in cache information, execution time, requests/sec,
etc

On Feb 5, 9:37 am, "Dan" <danle...@gmail.comwrote:
Hello,

I am using the Health Monitoring in asp.net 2.0 but came accross a
problem. I want to get information such as request execution time,
requests/sec, etc but the object doesn't expose me those information.
I know those information are available somewhere because when I add it
as a counter to the performance monitor, I manage to get those
information.

Is there a way to get that information within the code in order for me
to log those information in my custom provider? I don't want to use
the PerfMon.

Thank you

Feb 5 '07 #2
Dan
-http://msdn2.microsoft.com/en-us/library/ms227545.aspx

On Feb 5, 10:33 am, "Dan" <danle...@gmail.comwrote:
Actually I was mistaken,
WebApplicationLifetimeEvent would give me information such as
application start, compilation start etc.

So to rephrase my question: Is there a way to access the counter
information object in the code?
I am interesting in cache information, execution time, requests/sec,
etc

On Feb 5, 9:37 am, "Dan" <danle...@gmail.comwrote:
Hello,
I am using the Health Monitoring in asp.net 2.0 but came accross a
problem. I want to get information such as request execution time,
requests/sec, etc but the object doesn't expose me those information.
I know those information are available somewhere because when I add it
as a counter to the performance monitor, I manage to get those
information.
Is there a way to get that information within the code in order for me
to log those information in my custom provider? I don't want to use
the PerfMon.
Thank you

Feb 5 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2047
by: russell.lane | last post by:
I'm trying to set up health monitoring for web services and a web application. To start very simply, I want to turn on event logging for web requests. To do this I added the following markup to...
1
1862
by: Anonieko | last post by:
Logging To a File In A S P . N E T 2 . 0 . I also want weekly rolling filename for the log file. Step 1. Create a class library ( 2 classes) ============================== AppWebEvent.cs...
1
1601
by: Neil Billingham | last post by:
Hi, Has anyone experienced problems when deploying a web app via VS2005 with regards health monitoring configuration settings in the web.config? I get a "could not load file or assembly '__code'...
1
1470
by: Bird | last post by:
Hi, By default, EventLogWebEventProvider is enabled. Can I disable it? (to avoid events written to Windows Event Log) Thanks!
0
909
by: robl | last post by:
I have a custom Eventlog created for my application that I would like healthmonitoring events to log to instead of the Applcation Event Log. I would prefer to have the additional information that...
0
825
by: Ian Powell | last post by:
Hi, I am developing a new health monitoring provider to handle exception errors for applications within my company. Ordinarily the code I use iterates through the session objects and reports...
0
904
by: Q. John Chen | last post by:
I am configure the healthMonitoring so all the errors are redirected as an email instead of EventLog. It is pretty simply to get it working. Great new feature for simple error handling - no need...
1
1827
by: =?Utf-8?B?RGlnaXRhbERpYW1vbmQ=?= | last post by:
I'm fairly new to dotNet but I've set up a web site and SQL database, with Health monitoring on which works fine localy on my development machine. However when ever upload the web site to our web...
1
2230
by: Howard Hoffman | last post by:
We've an ASP.NET 2.0 application that we're migrating to IIS7 and W2K8. We have application that makes heavy use of the System.Web.Management.WebErrorEvent type to Raise() errors to the...
0
7076
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7323
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6984
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7453
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5576
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5005
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3162
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1507
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
377
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.