1. Run VS 2019 as administrator.
2. Select Create a new project - ASP.NET Core Web Application:
3. Select Web Application:
4. Select IIS in debug launch project properties:
5. Start the application (Start Without Debugging - Ctrl+F5):
1. Open IIS Manager - Application Pools and find the pool name for your application:
2. Substitute "WebApplication1 AppPool" with your application pool name in the following two lines and run them from the admin command prompt:
%systemroot%\system32\inetsrv\appcmd.exe set apppool "WebApplication1 AppPool" /+environmentVariables.add[@start,name='CoreCLR_Enable_Profiling',value='1'] %systemroot%\system32\inetsrv\appcmd.exe set apppool "WebApplication1 AppPool" /+environmentVariables.add[@start,name='CORECLR_PROFILER',value='{C967CF3F-79BF-49a5-A10F-D5B269DB9E54}']
1. Set a command to start the web application in the Runtime Flow Customized Run dialog and uncheck the Stop monitoring when the command completes option:
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe http://localhost/WebApplication1/
2. Set Module == WebApplication1.dll in the monitoring Options dialog:
1. Click Restart in the IIS manager - Actions - Manage Server to close all running w3wp.exe processes:
2. Click Run in the Runtime Flow Customized Run dialog. The flow of the application execution should appear:
Copyright 2008 - 2024 Vlasov Studio (Best in class Visual Studio extensions and tools)