Training course · GitHub Copilot · C# & .NET

GitHub Copilot for C# and .NET Developers

Use GitHub Copilot professionally: completions, chat, agent mode, the coding agent for issues and PRs, code review and enterprise policies.

Duration
2 days (14 hrs)
Format
Online or on-site
Language
German or English
Participants
open dates or exclusive for your team
Certificate
Certificate of attendance

Overview

“GitHub Copilot for C# and .NET Developers” is a hands-on course for roles such as C# developers working with ASP.NET Core, Blazor or WPF, Teams migrating applications from .NET Framework to modern .NET and Software architects for .NET and Azure solutions. Rather than learning GitHub Copilot in the abstract, you work on tasks from your daily routine – with examples, exercises and templates from C# & .NET.

GitHub Copilot has grown from simple code completion into a broad AI platform that supports the entire development lifecycle. In the editor you work with inline suggestions, next edit suggestions and Copilot Chat; in agent mode Copilot handles tasks across multiple files and runs commands. On GitHub itself, the coding agent picks up assigned issues and delivers pull requests. In this two-day course you will learn how to use each of these building blocks deliberately and fit them cleanly into your existing development process.

Beyond hands-on editor work, the course covers control and quality. Custom instructions and prompt files give Copilot the project knowledge it needs, MCP adds further tools, and Copilot code review complements human reviewers. For those responsible for teams and organisations, we look at policies at organisation and enterprise level, content exclusions, model availability and usage reporting. Together, these lay the groundwork for a secure, transparent and genuinely effective Copilot rollout across the entire company.

C# and .NET are firmly established in many organisations: ASP.NET Core APIs, Blazor and WPF front ends, Azure services and line-of-business applications dating back to the .NET Framework era. Migrating from the classic .NET Framework to modern cross-platform .NET in particular ties up significant capacity. AI coding assistants and agents take over much of the mechanical work here: converting project files to SDK style, identifying WCF or Web Forms dependencies, writing xUnit or NUnit tests, optimising Entity Framework Core queries and introducing nullable reference types. To do this well, they need context on solution structure, analyser rules and architectural guidelines. This course shows you how to use agents in Visual Studio, VS Code or Rider and on the command line.

The course is delivered live – either online in a virtual classroom or on-site in our training rooms in Munich, Salzburg, Berlin, Augsburg, Hanover, Bremen, Stuttgart and Kaiserslautern. We can also run it exclusively for your team.

Who is this course for?

  • C# developers working with ASP.NET Core, Blazor or WPF
  • Teams migrating applications from .NET Framework to modern .NET
  • Software architects for .NET and Azure solutions
  • Developers of line-of-business applications in industry and SMEs

Typical challenges we address

  • Costly migration of .NET Framework applications built on WCF, Web Forms or ageing NuGet packages
  • Large solutions with many projects, circular dependencies and little test coverage
  • Performance issues caused by inefficient Entity Framework queries
  • Inconsistent handling of nullability, async/await and dependency injection

What you will be able to do

  • You use Copilot completions, chat and agent mode purposefully for your everyday development tasks.
  • You capture project knowledge in custom instructions and prompt files to improve output quality.
  • You delegate suitable issues to the coding agent and review its pull requests properly.
  • You integrate Copilot code review sensibly into your existing review process.
  • Use AI agents for .NET migrations, refactorings and test generation across large solutions.
  • Optimise Entity Framework Core data access and ASP.NET Core APIs with AI support.
  • Define analyser rules, conventions and review criteria that generated C# code meets reliably.

Course outline

Day 1

Module 1 Copilot in the editor: completions and chat
  • Accepting, rejecting and steering inline and next edit suggestions efficiently
  • Using Copilot Chat for explanations, debugging and test generation
  • Setting context precisely with files, selections, workspace and chat variables
  • Model selection and differences between VS Code, Visual Studio and JetBrains IDEs
Module 2 Agent mode and extensions
  • Planning multi-step tasks in agent mode and executing them under control
  • Feeding terminal commands, test runs and error output into the agent loop
  • Connecting MCP servers for additional tools and data sources
  • Reviewing changes, accepting them partially or rolling them back
Module 3 Project knowledge through custom instructions
  • Writing repository-wide instructions on architecture, style and testing
  • Creating path-specific instructions and reusable prompt files
  • Combining personal and organisation-wide guidance sensibly
  • Refining instructions continuously based on output quality
Module 4 Coding agent and code review on GitHub
  • Writing issues the coding agent can implement reliably
  • Reviewing, commenting on and iterating over the agent’s pull requests
  • Using Copilot code review as an additional check in the PR process
  • Configuring the agent’s development environment with setup steps and Actions

Day 2

Module 5 Administration, policies and security
  • Licence assignment and policies at organisation and enterprise level
  • Content exclusions, model availability and public code filters
  • Using audit logs and usage metrics to steer adoption
  • Clarifying security risks, secrets and accountability for AI-generated code
Module 6 Practice lab: C# & .NET
  • Migrating to modern .NET
  • Writing xUnit and NUnit tests
  • Optimising Entity Framework Core
  • Introducing nullable reference types
  • Building ASP.NET Core APIs
  • Code analysis and refactoring
Module 7 Data protection, quality & transfer to daily work
  • Clarify whether source code may be sent to cloud models and which tenant or region settings apply, and keep connection strings and secrets from User Secrets or Key Vault out of prompts. New NuGet packages should be checked for licence, provenance and vulnerabilities – not least in view of the obligations under the Cyber Resilience Act.
  • Ground rules for safe AI use in your team
  • Checking results: facts, sources, tests and the four-eyes principle
  • Personal action plan for the next 30 days
  • Open questions, outlook and resources for further learning

Practical scenarios from your field

Migrating to modern .NET

The agent analyses projects using the upgrade tooling and compiler output, converts csproj files to SDK style, replaces incompatible APIs and proposes alternatives to WCF or System.Web until the solution builds and tests pass.

Writing xUnit and NUnit tests

Services, controllers and domain logic get unit tests with Moq or NSubstitute plus integration tests using WebApplicationFactory. The AI covers edge cases and sticks to your existing test conventions.

Optimising Entity Framework Core

The AI analyses generated SQL, spots N+1 problems, missing AsNoTracking calls or awkward Includes, and creates migrations and projections for faster queries. Every change is backed by the resulting SQL.

Introducing nullable reference types

Nullable is enabled project by project while the AI works through compiler warnings, adds guard clauses and annotations and makes implicit assumptions in the code explicit.

Building ASP.NET Core APIs

Specifications become minimal APIs or controllers with validation, ProblemDetails error handling, authentication and OpenAPI documentation, consistent with your existing layered architecture. Integration tests safeguard each new endpoint.

Code analysis and refactoring

Roslyn analyser findings are fixed systematically, oversized classes split, async anti-patterns such as .Result removed and dependency injection registrations made consistent. Build, analysers and existing tests confirm that behaviour is unchanged.

Possible hands-on projects

Minimal API service

An ASP.NET Core service using minimal APIs, EF Core, health checks, structured logging and integration tests, built end to end by an AI agent from a specification.

Migration inventory

A console tool that scans a solution, lists target frameworks, NuGet packages and incompatible APIs, and produces a prioritised migration plan.

Blazor admin UI

A small Blazor application for managing master data, with form validation, filterable tables and integration with an existing REST API.

Prerequisites

You develop software regularly, work with Git and GitHub issues and pull requests, and use a modern IDE. Good C# skills, experience with ASP.NET Core or .NET desktop development, and familiarity with Visual Studio, Rider or VS Code and Git.

Technical requirements

Your own laptop with VS Code or a JetBrains IDE, the Copilot extension installed and a GitHub account with an active Copilot licence; the coding agent requires a suitable plan.

Data protection & compliance

Clarify whether source code may be sent to cloud models and which tenant or region settings apply, and keep connection strings and secrets from User Secrets or Key Vault out of prompts. New NuGet packages should be checked for licence, provenance and vulnerabilities – not least in view of the obligations under the Cyber Resilience Act.

Suggested dates

All dates are suggestions – your preferred date is always possible.

  • Mon, 23 November 2026 – Tue, 24 November 2026 Online Request
  • Wed, 2 December 2026 – Thu, 3 December 2026 Kaiserslautern Request
  • Thu, 10 December 2026 – Fri, 11 December 2026 Online Request
  • Thu, 14 January 2027 – Fri, 15 January 2027 Augsburg Request
  • Mon, 25 January 2027 – Tue, 26 January 2027 Online Request
  • Wed, 3 February 2027 – Thu, 4 February 2027 Salzburg Request

Frequently asked questions

What is the difference between agent mode and the coding agent?

Agent mode runs inside your IDE: you work interactively with Copilot, see every step and approve commands. The coding agent, by contrast, works autonomously on GitHub once you assign it an issue, uses its own execution environment and opens a pull request that you then review just as you would a contribution from a colleague.

How can we make sure Copilot complies with our company policies?

At organisation and enterprise level you can enable or block specific features, models and extensions. Content exclusions keep sensitive files out of the context, and audit logs make usage traceable. During the course we show how to align these controls with data protection, information security requirements and your internal coding standards.

Is the course worthwhile if we already use Copilot?

Yes, especially then. Many teams rely on completions alone and barely touch chat, agent mode, custom instructions or the coding agent. The course shows how to use these features in a structured way, improve results with project knowledge and avoid common pitfalls. Experienced users benefit most from the sections on review and governance.

Does AI really help with migrating from .NET Framework?

Yes, especially with the mechanical work: converting project files, finding incompatible APIs, suggesting replacement libraries and fixing build errors iteratively. Fundamental architecture decisions, such as replacing WCF with gRPC or REST, remain with the team. On the course you practise breaking such migrations into small, verifiable steps.

Do AI agents work with Visual Studio?

Many AI assistants integrate directly with Visual Studio, VS Code or Rider, while others run in the terminal alongside the dotnet CLI. The methods taught are tool-neutral: you learn to provide context, scope tasks and safeguard results through builds, analysers and tests, regardless of your IDE.

How much does “GitHub Copilot for C# and .NET Developers” cost?

The course costs a flat €949 plus VAT per participant – whether online or on-site. This includes 2 training day(s) with a live trainer, course materials, a lab environment and a certificate of attendance.

Can I suggest my own date?

Yes. Our suggested dates are just a guide. In the request form you can always describe your preferred date or period in free text – we check availability and confirm within one working day.

Is the course online or on-site?

Both are possible: live online in a virtual classroom or on-site in Munich, Salzburg, Berlin, Augsburg, Hanover, Bremen, Stuttgart or Kaiserslautern. We can also run the course exclusively for your team.

More courses for C# and .NET Developers

More GitHub Copilot courses

All 32 GitHub Copilot courses