How to add Azure Application Insights to a .NET Core App?

Niko 1 Reputation point

I'm trying to add Azure Application Insights to my .NET Core App so I can see search traffic analytics but I only keep finding documentation on how to set this up for an ASP.NET App, is setting Azure Application Insights possible for a .NET Core App?

Thanks for your time,

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
1,921 questions
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Grmacjon-MSFT 9,276 Reputation points

    Hi @Niko ,

    You can also check out this documentation. It describes how to enable Application Insights for an ASP.NET Core application. The example used in the doc is an MVC application that targets netcoreapp3.0. However, you can apply these instructions to all ASP.NET Core applications.

    Hope that helps.

    Please let us know if you have further questions.

    1 person found this answer helpful.
    No comments

  2. Harlen Alvarez 21 Reputation points

    You could try using the worker service app insights SDK.
    Here's the link