Custom Profiler with .NET Web Application

Viewed 141
1 Answers

On profiler level, there is no difference between web application and desktop application.

If you run your .Net framework application through the IIS and want to profile the application, you need to add COR_ENABLE_PROFILING=1 and COR_PROFILER={CLSID} variables to the environment variables of IIS services.

Set the profiler variables to W3SVC and WAS services. It can be added through the registry - add it to Environment key of HKLM\System\CurrentControlSet\Services\W3SVC or \WAS.

Don't forget to run iisreset command after the changes.

Related