You can disable local application insights for ASP.NET Core Projects from Visual Studio. Azure Application Insights helps in monitoring applications health in real time. We can track our application availability, performance issues, user’s session and diagnose crashes faster than ever. It provides a real-time dashboard for your app to monitor your application. When you are performing local debugging for your ASP.NET Core application, if the application insight is turned on, it logs several logs. You can turn it off.
Disable local Application Insights for Asp.Net Core Projects from Visual Studio
To disable local Application Insights for Asp.Net Core Projects, navigate from the Tools menu, Options > Projects and Solutions > Web Projects.
Check the “Disable local Application Insights for Asp.Net Core web projects” checkbox. This will disable the log for local Application Insights telemetry for the ASP.NET Core Projects.