You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/profiler/profiler-aspnetcore-linux.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,9 @@ In this guide, you'll:
22
22
23
23
- Install the [latest and greatest .NET Core SDK](https://dotnet.microsoft.com/download/dotnet).
24
24
- Install Git by following the instructions at [Getting Started - Installing Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git).
25
+
- Review the following samples for context:
26
+
-[Enable Service Profiler for containerized ASP.NET Core Application (.NET 6)](https://github.com/microsoft/ApplicationInsights-Profiler-AspNetCore/tree/main/examples/EnableServiceProfilerForContainerAppNet6)
27
+
-[Application Insights Profiler for Worker Service Example](https://github.com/microsoft/ApplicationInsights-Profiler-AspNetCore/tree/main/examples/ServiceProfilerInWorkerNet6)
1. In your preferred code editor, enable Application Insights and Profiler in `Program.cs` for `WebAPI`:
47
+
1. In your preferred code editor, enable Application Insights and Profiler in `Program.cs` for the `WebAPI` class. [Add custom Profiler settings, if applicable](https://github.com/microsoft/ApplicationInsights-Profiler-AspNetCore/blob/main/Configurations.md).
YoucanalsoenableApplicationInsightsandProfilerfor `Worker`. Update the `Program.cs` file for the `Worker` with the following:
55
+
1. **Optional:**YoucanalsoenableApplicationInsightsandProfilerby [creatingandconfiguringa `Worker` class](https://github.com/microsoft/ApplicationInsights-Profiler-AspNetCore/blob/main/examples/ServiceProfilerInWorkerNet6/Worker.cs). If you do use a `Worker` class, [add code like the following to your project's `Program.cs`](https://github.com/microsoft/ApplicationInsights-Profiler-AspNetCore/blob/main/examples/ServiceProfilerInWorkerNet6/Program.cs):
0 commit comments