ASP.NET: Application Performance Monitoring

I have an ASP.NET application that will run on a web server (Windows Server 2003) to serve my users on the intranet. Now I would like to track application performance: for example, memory management, closed db connection, etc. The ultimate goal is to optimize the application. What should I do for this? Are there any free tools?

+3
source share
4 answers

ASP.NET includes performance counters that you can monitor using the Windows Performance Monitor (Perfmon.exe), you can run this from the administration tools in Windows Server 2003.

You can check out these articles to help you choose the most appropriate performance counters:

+6
source

Windows , , , , .

(PAL) ( !) , (- IIS, SharePoint, Exchange ..) PAL :

http://www.codeplex.com/PAL

, -.

, , , Redgate ANTS:

http://www.red-gate.com/products/ants_performance_profiler/

+2

, jetBrains dotTrace ANTI-.

. . , .

0

, IIS . . Perfview .

Say, for example, that you want to track .NET stack information and stop whenever a web request takes more than 3 seconds. Then you run the following command at the prompt

perfview collect -StopOnRequestOverMsec:3000 -ThreadTime -NoNGenRundown -Merge:false -Zip:false -LogFile:perfviewlog.log -CircularMB:512 -DataFile:LongRequest.etl

Then you should use perfview to parse the LongRequest.etl file and track the .NET call. See Microsoft Channel9 for details .

0
source

Source: https://habr.com/ru/post/1725528/


All Articles