Click here to Skip to main content
Click here to Skip to main content

Application dashboard for tracking .NET application performance

By , 26 Jul 2006
 

Sample Image - MemoryDashboard.jpg

Introduction

When a .NET application is running, it registers and updates a large number of performance counters which you can use to monitor the way your application is running - for example, how many threads is it using, what its memory usage is, how long it spends doing garbage collection, and so on.

You can read these properties using the .NET Framework built-in PerformaceCounter class. The attached code does just that and presents the results in a graphical format which you can have open and watching as you test your application - this can show up performance issues before the users get to see the problems.

How to use

To use the application, start your test application running, then fire up the application dashboard. Then select the menu File .. Settings and select your application from the drop down list of running .NET applications. You can also adjust the maximum and minimum values of each gauge so that it better matches your application.

License

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

About the Author

Duncan Edwards Jones
Software Developer (Senior) JP Morgan
Ireland Ireland
Member
C# / SQL Server developer
Microsoft MVP 2006, 2007
Visual Basic .NET

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
Generalsamplememberparasuram-gpr20 Feb '09 - 20:44 
GeneralRe: samplememberDuncan Edwards Jones8 Jul '09 - 6:40 
QuestionHow to use chart fx gaugesmemberirafN7863 Aug '08 - 8:03 
AnswerRe: How to use chart fx gaugesmemberDuncan Edwards Jones3 Aug '08 - 8:49 
GeneralRe: How to use chart fx gaugesmemberirafN7863 Aug '08 - 23:16 
GeneralGood IdeamemberNice Life12 Oct '06 - 4:44 
GeneralRe: Good IdeamemberDuncan Edwards Jones13 Oct '06 - 2:52 
Thanks for the feedback - it is going in to the next version..
 
Sláinte,
Duncan
 
'--8<------------------------
Ex Datis:
Duncan Jones
Merrion Computing Ltd

GeneralSome comments....memberJuergen Posny27 Jul '06 - 21:56 
GeneralRe: Some comments.... [modified]memberDuncan Edwards Jones27 Jul '06 - 22:03 
QuestionToo many exceptions !!! [modified]memberNigel Savidge27 Jul '06 - 3:06 
AnswerRe: Too many exceptions !!!memberDuncan Edwards Jones27 Jul '06 - 3:46 
GeneralException on Application Closememberdgauerke27 Jul '06 - 3:05 
GeneralRe: Exception on Application ClosememberDuncan Edwards Jones27 Jul '06 - 3:50 
GeneralRe: Exception on Application ClosememberDuncan Edwards Jones28 Jul '06 - 1:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 27 Jul 2006
Article Copyright 2006 by Duncan Edwards Jones
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid