question

Niko-7166 avatar image
0 Votes"
Niko-7166 asked ·

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

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
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

halvarez18 avatar image
0 Votes"
halvarez18 answered ·

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


· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for your help!, I will soon give this a try.

0 Votes 0 ·
Grmacjon-MSFT avatar image
1 Vote"
Grmacjon-MSFT answered ·

Hi @Niko-7166,

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.


·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.