Could not load file or assembly 'Microsoft.AI.Web' or one of its dependencies.
Please follow the following steps and fix the issue:-
To install Application Insights only to the Web/API Project:
Install-Package Microsoft.ApplicationInsights.Web YourProjectName
To run these commands, in Visual Studio open Package Manager by clicking on: Tools -> NuGet Package Manager -> Package Manager Console