Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Application Insights is not yet supported for .NET 5 Web Apps

I have a .Net 5.0 web app deployed into an Azure App Service web app.

Today, I wanted to enable an Application Insights instance for my app service web app, but looks like it's impossible at the moment due to the Application Insights is not yet supported for .NET 5 Web Apps message.

enter image description here

I don't wanna downgrade to asp.net core 3.1. Do you have any suggestions?

Any help is highly appreciated.

like image 445
adp Avatar asked Dec 16 '20 18:12

adp


1 Answers

Currently, the code-less mode(link application insights via azure portal) is not supported.

Before this feature is available, only app-insights SDK based approach can be used there. So as a workaround, you can install the related app-insights package in your project locally, then publish the project to azure.

like image 198
Ivan Yang Avatar answered Nov 16 '22 01:11

Ivan Yang