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

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
QuestionToo many exceptions !!! [modified]memberNigel Savidge27 Jul '06 - 3:06 
OMG | :OMG:
 
Why the "+=" in this line:
 
Me.Dial_Exceptions.CurrentValue += CInt(_ExceptionsCounter.NextValue)
 
I think it should just be "=".
 
Hope so, otherwise my current application isn't going to run too well!
 

 

-- modified at 9:07 Thursday 27th July, 2006
AnswerRe: Too many exceptions !!! PinmemberDuncan Edwards Jones27 Jul '06 - 3:46 
It definitely should be '=' D'Oh! | :doh:

 
'--8<------------------------
Ex Datis:
Duncan Jones
Merrion Computing Ltd

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

Permalink | Advertise | Privacy | Mobile
Web01 | 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