applicationinsights-setup

Installation
SKILL.md

Application Insights Setup

This skill detects your .NET application type and instrumentation state, then guides you through the correct setup, migration, or enhancement path.

Step 1 — Detect Application Type

Find all .csproj files (also .fsproj, .vbproj) in the workspace. If multiple non-library projects exist, ask the user which one to instrument before proceeding. Also check for global.json as a .NET workspace indicator.

First, check the <Project Sdk="..."> attribute in the .csproj:

SDK-style projects (modern format — has Sdk attribute)

Signal App Type
Sdk="Microsoft.NET.Sdk.Web" ASP.NET Core
Sdk="Microsoft.NET.Sdk.Worker" Worker Service
Microsoft.Azure.Functions.Worker or Microsoft.NET.Sdk.Functions in PackageReference Azure Functions — not supported by this skill; refer to Azure Functions monitoring docs
Sdk="Microsoft.NET.Sdk" with <OutputType>Exe</OutputType> Console App
Sdk="Microsoft.NET.Sdk" with <OutputType>Library</OutputType> or no OutputType Library — does not get pipeline setup (no AddApplicationInsightsTelemetry() / UseAzureMonitor()), but may need migration if it uses TelemetryClient, ITelemetryInitializer, ITelemetryProcessor, or other 2.x APIs. Check for existing Application Insights package references and apply migration guidance if found.
Installs
3
GitHub Stars
610
First Seen
Aug 14, 2026
applicationinsights-setup — microsoft/applicationinsights-dotnet