|
2 | 2 | title: Enable Profiler for web apps on an Azure virtual machine
|
3 | 3 | description: Profile web apps running on an Azure virtual machine or a virtual machine scale set by using Application Insights Profiler
|
4 | 4 | ms.topic: conceptual
|
5 |
| -ms.date: 07/15/2022 |
6 |
| -ms.reviewer: jogrima |
| 5 | +ms.date: 07/18/2022 |
| 6 | +ms.reviewer: charles.weininger |
7 | 7 | ---
|
8 | 8 |
|
9 | 9 | # Enable Profiler for web apps on an Azure virtual machine
|
@@ -58,7 +58,7 @@ In this article, you learn how to run Application Insights Profiler on your Azur
|
58 | 58 |
|
59 | 59 | You can enable Profiler by any of the following three ways:
|
60 | 60 |
|
61 |
| -- Within your ASP.NET Core application using an Azure Resource Manager template and Visual Studio. |
| 61 | +- Within your ASP.NET Core application using an Azure Resource Manager template and Visual Studio (recommended). |
62 | 62 | - Using a PowerShell command via the Azure CLI.
|
63 | 63 | - Using Azure Resource Explorer.
|
64 | 64 |
|
@@ -146,15 +146,15 @@ If the intended application is running through [IIS](https://www.microsoft.com/w
|
146 | 146 |
|
147 | 147 | 1. Use the [Add Windows features](/iis/configuration/system.webserver/tracing/) window, or run the following command in PowerShell (as administrator):
|
148 | 148 |
|
149 |
| - ```powershell |
150 |
| - Enable-WindowsOptionalFeature -FeatureName IIS-HttpTracing -Online -All |
151 |
| - ``` |
| 149 | + ```powershell |
| 150 | + Enable-WindowsOptionalFeature -FeatureName IIS-HttpTracing -Online -All |
| 151 | + ``` |
152 | 152 |
|
153 |
| - If establishing remote access is a problem, you can use the [Azure CLI](/cli/azure/get-started-with-azure-cli) to run the following command: |
| 153 | + If establishing remote access is a problem, you can use the [Azure CLI](/cli/azure/get-started-with-azure-cli) to run the following command: |
154 | 154 |
|
155 |
| - ```cli |
156 |
| - az vm run-command invoke -g MyResourceGroupName -n MyVirtualMachineName --command-id RunPowerShellScript --scripts "Enable-WindowsOptionalFeature -FeatureName IIS-HttpTracing -Online -All" |
157 |
| - ``` |
| 155 | + ```cli |
| 156 | + az vm run-command invoke -g MyResourceGroupName -n MyVirtualMachineName --command-id RunPowerShellScript --scripts "Enable-WindowsOptionalFeature -FeatureName IIS-HttpTracing -Online -All" |
| 157 | + ``` |
158 | 158 |
|
159 | 159 | 1. Deploy your application.
|
160 | 160 |
|
|
0 commit comments