Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Microsoft Application Insights support MVC 6 (.Net 5)

I'm trying to setup a prototype with an mvc 6 project and application insights. When selecting to monitor an mvc 6 website in IIS 7, it says it is monitoring but no server statistics are being sent to Azure. When I monitor any other sites on that server it works correctly. So my question is, does application insights support .Net 5 and MVC 6 running in IIS?

In the website I have installed Application Insights using the snippet of javascript provided by Microsoft Application Insights. This is working correctly and sending data to Azure.

The website is on a local Windows 2012 server. I have installed the Application Insights Status Monitor on the server and I have it pointed to the mvc 6 website. This part is not working. When I point the Server Tool to a site on the local server running a .Net 4.5 website it does submit the data correctly to Azure.

I did not add the AI part via nuget package because I am not submitting any custom alerts to Applications Insight. Right now I am just looking to get the server statistics. IE Memory, Processor usage, etc.

like image 790
RickJames Avatar asked Nov 10 '22 21:11

RickJames


1 Answers

Asp.net vnext is not currently supported. But there are plans to support it in the near future.

like image 166
Anastasia Black Avatar answered Dec 09 '22 20:12

Anastasia Black