Can CLR Profiler be used for profiling ASP.NET applications?
Asked
Active
Viewed 444 times
0
-
2[MSDN: Profiling ASP.NET Applications with CLR](http://msdn.microsoft.com/en-us/library/ff650691.aspx#scalenethowto13_topic5) – Tim Schmelter Mar 03 '11 at 21:47
-
+1 This is what I was looking for however I don't know how can I mark this one as Answer. There is no check icon with it. – palm snow Mar 08 '11 at 20:23
2 Answers
1
Yes, it is possible:
- Start the program
- Check/Uncheck Allocations and Calls as needed (note: you must have Allocations checked for calls to work).
- Verify the Target CLR Version
- File>Profile ASP.NET
- Once the IIS server has restarted, load the pages you want profiled.
- Click "KILL ASP.NET" to stop the profile.
- Analyse the output
After you kill the profiler, the start button changes to "Start ASP.NET" so you do not have to go back into the file menu to start the profiling.

Trisped
- 5,705
- 2
- 45
- 58
1
It used to be possible (albeit not quite straight-forward, as I remember it). I have not tried the new one yet, but I would be quite surprised if that one did not handle it as well.

Fredrik Mörk
- 155,851
- 29
- 291
- 343