Skip to sessions and notes

These session notes are AI-generated and may contain mistakes. Verify important details against the original recording.

Beyond Autocomplete: Getting the Most from GitHub Copilot for .NET

Wendy Breiding

Session · 23:58 recording · 6 min read

At a glance

  • End-to-end multi-agent debugging across 4 developer surfaces
  • Visual Studio Copilot with auto-detected WinForms Expert Skill
  • VS Code C# Dev Kit + Copilot Fusion model routing (GPT 6.1 Soul)
  • Official .NET Skills ecosystem (dotnet/skills) & Evaluation Dashboard
  • Internal C# Agent Benchmark (170+ scenarios) & csharp-refactoring skill

Executive Summary

In this fast-paced, live-demo-driven session, Wendy Breiding demonstrates how GitHub Copilot has evolved far beyond single-line inline code completions into an end-to-end, multi-agent collaborative development system for .NET developers. Wendy solves a complex, real-world bug across an enterprise Purchase Order system (featuring a WinForms desktop UI, ASP.NET Core API backend, and PostgreSQL database orchestrated by Aspire) by coordinating autonomous workflows across four distinct developer surfaces: Visual Studio, VS Code, the GitHub Copilot desktop app, and the Copilot CLI.

Wendy showcases the official .NET Skills ecosystem (github.com/dotnet/skills), the public Skills Evaluation Dashboard tracking token reductions and reliability across frontier models, groundbreaking support for shipping agent skills inside standard NuGet packages (dotnet package skills), and Roslyn in Daemon Mode, which exposes the Language Server Protocol (LSP) as an agent tool to achieve a 50% reduction in agent memory consumption.

Core Breakthroughs & Architecture Highlights:

  1. End-to-End Multi-Harness Workflow: Tackles a distributed system bug across 4 developer surfaces:
    • Visual Studio: Resolves WinForms UI duplicate submission loops via the in-box WinForms Expert Skill.
    • VS Code: Fixes ASP.NET Core API race conditions via Copilot Fusion routing to GPT 6.1 Soul and the .NET Web API Skill.
    • GitHub Copilot App: Refactors text reporting into JSON exports utilizing NuGet-packaged skills on isolated Git worktrees.
    • GitHub Copilot CLI: Cleans duplicate database records via automated scripts and Roslyn LSP in Daemon Mode.
  2. Official .NET Skills Ecosystem (dotnet/skills): Domain-specific instructions automatically discovered by IDE harnesses based on project technology stack (WinForms Expert, .NET Web API, run-tests, csharp-refactoring, .NET Performance Analyzer).
  3. The Skills Evaluation Dashboard: Transparent, empirical benchmarking measuring skill efficacy against Haiku 4.5, Sonnet 5, GPT 5.3 Codex, and 5.6 Luna. Measures activation rates, token reduction (e.g. -41% tokens on Sonnet 5), execution speedup (-73% time), and reliability pass rates.
  4. The C# Agent Benchmark (170+ Scenarios): Because industry benchmarks (SWE-bench, DeepSWE) contain zero C# code, Microsoft created a dedicated 170+ scenario benchmark suite to evaluate models and agent tools, successfully preventing token bloat regressions and spawning specialized skills like csharp-refactoring.
  5. Skills Shipped Inside NuGet Packages: Package authors can now bundle specialized agent skills directly inside NuGet packages (e.g., Markout shipping markout, markout-build, and shapes skills). Running dotnet package skills copies package skills to the local workspace on package restore.
  6. Roslyn Daemon Mode & LSP as an Agent Tool: Agents invoke Roslyn LSP directly for semantic code searches, symbol lookups, and diagnostic extraction instead of brute-force shell grepping. Roslyn Daemon Mode shares compiler state across concurrent agent sessions, slashing memory usage by 50%.

Detailed Section-by-Section Breakdown

1. Setting the Scene: The Purchase Order Duplicate Bug

Presenter: Wendy Breiding

Wendy introduces the sample application—a distributed enterprise Purchase Order system:

  • Architecture: Windows Forms client, ASP.NET Core REST API backend, PostgreSQL database, orchestrated locally via Aspire.
  • The Bug: Clicking "Create Draft PO" causes the UI to freeze and spin indefinitely without user feedback. Users click repeatedly, causing the API to commit duplicate purchase orders (3 to 15 copies) into PostgreSQL.

Title Slide: Beyond Autocomplete
Title Slide: Beyond Autocomplete

Purchase Order Application Duplicate Entry Bug
Purchase Order Application Duplicate Entry Bug


2. Stage 1: Visual Studio & Auto-Detected WinForms Skill

In Visual Studio 18.12, Wendy initiates the UI fix:

  • Visual Studio’s Copilot harness automatically inspects the solution structure and attaches the WinForms Expert Skill and .NET Web API Skill out of the box.
  • Using Model Selection set to Auto, Copilot isolates the WinForms UI thread logic, adds proper error catching, disables the submit button during API calls, displays user alerts, and triggers automated refreshes.

Visual Studio Copilot with WinForms Expert Skill
Visual Studio Copilot with WinForms Expert Skill


3. The .NET Skills Catalog & Skills Evaluation Dashboard

While Visual Studio executes the UI refactor, Wendy presents Microsoft’s open-source repository at github.com/dotnet/skills:

  • Curated repository of agent instructions, rules, and domain-specific knowledge across C#, ASP.NET Core, EF Core, MAUI, and WinForms.
  • Skills Evaluation Dashboard (dotnet.github.io/skills): Rigorous, statistical evaluation of skills across models (Claude Haiku 4.5, Claude Sonnet 5, GPT 5.3 Codex, GPT 5.6 Luna).
  • On Claude Sonnet 5, the csharp-expert skill achieved a 93% activation rate, a 41% token reduction (129.1k down to 75.8k tokens), a 73% speedup (41.0s down to 11.0s), and boosted reliability pass rates from 20% to 33%.

Official .NET Skills Repository and Installation Guide
Official .NET Skills Repository and Installation Guide

Skills Evaluation Dashboard Benchmarks
Skills Evaluation Dashboard Benchmarks


4. Stage 2: VS Code C# Dev Kit & Copilot Fusion

Wendy switches to Visual Studio Code to fix the backend API:

  • C# Dev Kit provides in-box skills: WinForms Expert, run-tests, .NET Web API, and .NET Performance Analyzer.
  • Using Copilot Fusion, Copilot dynamically analyzes task complexity and routes the API resilience fix to GPT 6.1 Soul.
  • The agent reads the .NET Web API skill, parses the agent handoff document written by the Visual Studio agent, inspects Aspire orchestration, and uses the run-tests skill to execute and validate API unit tests.

VS Code C# Dev Kit In-Box Skills
VS Code C# Dev Kit In-Box Skills

Copilot Fusion Model Routing to GPT 6.1 Soul
Copilot Fusion Model Routing to GPT 6.1 Soul


5. Microsoft's Internal C# Agent Benchmark (170+ Scenarios)

Wendy details how the .NET team ensures agent quality:

  • Industry benchmarks like SWE-bench lack .NET representation. Microsoft engineered an internal suite of 170+ realistic C# development scenarios run continuously against frontier models.
  • Regression Prevention: The benchmark caught a code-search tool that caused severe token bloat before release.
  • Feature Genesis: Benchmark data revealed that models struggled with complex refactoring in large codebases, directly leading to the creation of the official csharp-refactoring skill.

C# SWE-Benchmark and Refactoring Skill Impact
C# SWE-Benchmark and Refactoring Skill Impact


6. Stage 3: GitHub Copilot App & NuGet-Packaged Skills

To clean up existing database duplicates, Wendy transitions to the GitHub Copilot App:

  • Spins up an isolated Git worktree to modify the report generator from raw plain text to structured JSON.
  • Skills in NuGet Packages: Utilizes the new capability announced by Rich Lander where third-party NuGet packages bundle domain skills directly in the package payload. The project references the Markout package, which automatically delivers markout, markout-build, and shapes skills into the agent environment via dotnet package skills.

GitHub Copilot App and NuGet-Packaged Skills
GitHub Copilot App and NuGet-Packaged Skills


7. Stage 4: Copilot CLI, Roslyn Daemon Mode & LSP Agent Tools

Wendy completes the cycle using the GitHub Copilot CLI:

  • Copilot Fusion selects GPT-4.6 Luna for medium-complexity CLI scripting.
  • LSP as an Agent Tool: The agent executes code search and symbol resolution by directly querying the in-memory Roslyn Language Server Protocol (LSP) rather than spawning slow filesystem search tools.
  • Roslyn Daemon Mode: A background daemon shares compilation trees across concurrent agents, resulting in an immediate 50% reduction in agent memory consumption, eliminating system slowdowns when running 3 to 4 agents simultaneously.
  • The CLI agent reads the generated duplicate PO JSON report, generates an automated PostgreSQL cleanup script, and safely removes duplicate records.

Roslyn Daemon Mode and LSP Agent Tools
Roslyn Daemon Mode and LSP Agent Tools