以下のページのサマリ Application Insights for ASP.NET Core アプリケーション NuGet の追加 以下のパッケージを追加します Microsoft.ApplicationInsights.AspNetCore Startup.cs への AppInsights 有効化の処理の追加 以下のコードを追加 public void ConfigureServices(IServiceCollection services) { services.AddApplicationInsightsTelemetry(); services.AddRazorPages(); } この時点で実際の Azure には行かないけどローカルでデバッグ実行すると Visual Studio で確認できるようになります。 ILogger 用のログレベルの調整 デフォルトで警告以上が