简体   繁体   中英

.Net profiling api for ASP.NET application

I try to make simple profiler for ASP.NET application using .net profiling API and all that I've founded that need to restart IIS with required parameters for profiling(such way have used in Microsoft's CLR Profiler). As result, profiling was enabled for all managed websites, which works on this IIS.

Is there a possibility to run it for concrete website and all other websites will work in normal state?

How are you getting the profiler to run in the IIS process; I assume by setting the correct environment variables? If so then one option is to run the IIS application under it's own app pool with it's own identity and then set the environment variables for that identity using the registry . Then only that app-pool/worker process should load the profiler.

Alternatively depending on what you are profiling then you may be able to use the profiler Attach technique

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM