Apr 30, 20262 min read/2026/04/30/getting-started-github-copilot-sdk-dotnet-series/

Getting Started with the GitHub Copilot SDK for .NET: A Hands-On Series

I keep telling people the same thing about the GitHub Copilot SDK:

It's not just autocomplete in your editor. It's a programmable agent you can host inside
your own .NET apps.

You get the client, sessions, tools, hooks, permissions, skills, MCP servers, custom
agents — the whole machinery — as a library you call from C#.

So I built a course to learn it properly, and I'm turning it into a series of posts. The
code is on GitHub:
egarim/GettingStartedWithGithubCopilotSDK.
Every numbered folder is a self-contained demo you can run on its own.

How the series works

Each demo isolates one concept and builds it up from nothing. No giant sample app you
have to reverse-engineer — just the smallest amount of code that makes the idea click.

Every demo (except the Blazor one) ships as numbered stepNN.cs snapshots that grow
Program.cs incrementally, plus a little recorder script so you can step through them.

The map

Prerequisites

  • The .NET 10 SDK
  • GitHub Copilot access (log in via VS Code or gh auth login)

That's it. Start with Part 1
— the client — and we'll build up from there.