Click here to Skip to main content
15,891,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I Have a requirement of displaying performance of the system objects(say IIS etc) in my asp.net web application and how do i create a performance counter for a custom application which writes data into event log(based on no. of events written into that event log
Posted

1 solution

There are classes in .NET for interacting with performance counters[^] - there is also a good article on how to use them : An Introduction To Performance Counters[^] - and I have written an application to display the performance counters graphically : Application dashboard for tracking .NET application performance[^]
 
Share this answer
 
Comments
Chinna Suresh 25-Aug-14 1:48am    
I Have a requirement of displaying performance view on asp.net how can i do that ?
Duncan Edwards Jones 25-Aug-14 4:00am    
Performance data from the web page server or the client?
Chinna Suresh 25-Aug-14 5:33am    
I have a application which has performance counters and for that application i need to design a web portal so that the performance counters can be viewed in the web portal as well,So i have two ways to retrieve the performance counter one from the application or another from the system performance counter which are available
Duncan Edwards Jones 25-Aug-14 6:05am    
The performance counter classes (linked above) can be used to read performance counters. I'd suggest you do that, then pass it across to the ASP.NET application to display. If you are using an MVC type of architecture then your model needs to be populated from the performance counters.
Chinna Suresh 25-Aug-14 6:47am    
I didnt find any article which does that..
am able to query the perfmon but how do i populate that as a performance view in asp.net? any example how to do that?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900