Modernize your application.Validate the result.

Use GitHub Copilot and Azure to modernize an existing application or reshape its architecture. Deliver a running upgrade or a complete rebuilt application.

Start with the change you need

A Java or .NET app can take either route. Discovery may recommend a smaller refactor.

Replatform / refactor

Upgrade runtimes and dependencies or move to managed Azure services while preserving core behavior.

Deliver a running modernized application and show that required behavior still works.

GitHub Copilot Modernization CLI

Rearchitect / rebuild

Change business workflows or architecture when a runtime upgrade alone is not enough.

Deliver a reviewed architecture and a complete rebuilt app on Azure. Choose an app small enough for the event.

Agentic Modernization plugin

Prerequisites

These tools support the upgrade tracks. For a rebuild, follow the plugin setup guide; you do not need the Modernization CLI.

VS Code
Required for the GitHub Copilot Modernization extension workflow
Docker Desktop
Required for Dev Containers, local image builds, or running Oracle locally. Use Azure Container Registry for cloud image builds instead.
GitHub Copilot Modernization
Install the VS Code extension from the Marketplace, or use the modernize CLI below
GitHub CLI (gh) v2.45.0+
Required by the modernization CLI — authenticate with gh auth login
Azure CLI + Terraform
Active Azure subscription with permissions for Container Apps, SQL, Service Bus, and Blob Storage
Install Modernization CLI bash
# Linux / macOS
curl -fsSL https://raw.githubusercontent.com/microsoft/modernize-cli/main/scripts/install.sh | sh
source ~/.bashrc
 
# Windows
winget install GitHub.Copilot.modernization.agent
 
# Authenticate and launch
gh auth login
modernize
Clone with Submodules bash
git clone --recurse-submodules \
https://github.com/<org>/<repo>.git
 
# Verify submodules are populated
git submodule status
✓ a3f8c... labs/01-java/resources/PhotoAlbum-Java
✓ 9d2e1... labs/02-dotnet/resources/dotnet-migration...
 
# Verify CLI is ready
modernize --version
modernize v1.x.x

See modernization in action.

Two demos follow legacy applications through modernization and deployment to Azure. Open a speaker guide alongside the site for setup, live commands, talking points, and troubleshooting. Each demo runs for 55 minutes; complete provisioning before presenting.

Replatform / refactor

Bring a real customer-owned application. Assess, modernize, and deploy your workload to Azure with the Modernization CLI. Start your application upgrade. The three sample tracks below are optional practice, not substitutes for customer delivery. For deeper architecture changes, choose rearchitect / rebuild.

☕ Java Track
00
Setup MOD — 00

Prerequisites
(Java)

Set up GitHub Copilot Modernization CLI, Docker, Azure CLI, Terraform, and GitHub CLI. Initialise the PhotoAlbum submodule. You can also deploy the legacy app to an Azure VM.

01
Assess MOD — 01

Assess the Java App

Run modernize assess on PhotoAlbum. Identify Spring Boot 2→3 blockers, Oracle JDBC issues, and cloud-readiness gaps.

02
Modernize MOD — 02

Modernize the Java App

Upgrade PhotoAlbum from Spring Boot 2.7 and Java 8 to Spring Boot 3.x and Java 25. Replace Oracle with PostgreSQL and Azure Blob Storage. Migrate javax to jakarta and update the SQL dialect.

03
Deploy MOD — 03

Containerize & Deploy (Java)

Build a PhotoAlbum container image, push it to Azure Container Registry, and deploy it to Azure Container Apps with Terraform. Provision PostgreSQL Flexible Server and Blob Storage.

04
Data Migration MOD — 04

Migrate the Database to PostgreSQL

Move PhotoAlbum data from Oracle to Azure Database for PostgreSQL Flexible Server and check that the rows match and the app works after cutover.

05
Observe & Secure MOD — 05

Observe & Secure

Add monitoring with the Application Insights Java agent. Manage secrets with Azure Key Vault and Managed Identity.

06
Stretch · AI MOD — 06

Add AI to PhotoAlbum

Generate captions, alt text, and tags for each uploaded photo with Azure OpenAI gpt-4.1-mini (vision). Use Managed Identity to authenticate.

🔷 .NET Track
00
Setup MOD — 00

Prerequisites
(.NET)

Set up GitHub Copilot Modernization CLI, Docker, Azure CLI, Terraform, and GitHub CLI. Initialise the ContosoUniversity submodule. You can also deploy the legacy app to a Windows VM.

01
Assess MOD — 01

Assess the .NET App

Run modernize assess on ContosoUniversity. Identify MSMQ, System.Web, and cloud-readiness blockers before changing code.

02
Modernize MOD — 02

Modernize the .NET App

Upgrade ContosoUniversity from .NET Framework 4.8 and ASP.NET MVC 5 to .NET 10 and ASP.NET Core. Replace MSMQ with Azure Service Bus and add Blob Storage. Remove System.Web and convert to SDK-style csproj.

03
Deploy MOD — 03

Containerize & Deploy (.NET)

Build a ContosoUniversity container image, push it to Azure Container Registry, and deploy it to Azure Container Apps with Terraform. Provision Azure SQL, Service Bus, and Blob Storage.

04
Data Migration MOD — 04

Migrate the Database to Azure SQL

Move ContosoUniversity data from LocalDB or SQL Express to Azure SQL Database, then verify the deployed app reads the migrated rows.

05
Observe & Secure MOD — 05

Observe & Secure

Add monitoring with the Application Insights SDK. Manage secrets with Azure Key Vault and Managed Identity.

06
Stretch · AI MOD — 06

Add AI to ContosoUniversity

Suggest course descriptions, learning objectives, and accessible alt text in the Course Create/Edit flow with Azure OpenAI gpt-4.1-mini (vision). Use Managed Identity to authenticate.

🔷 .NET 8 Track (eShopOnWeb)
00
Setup MOD — 00

Prerequisites
(.NET 8)

Install the .NET 10 SDK and check that GitHub Copilot Modernization CLI, Docker, Azure CLI, and Terraform work. Initialise the eShopOnWeb submodule.

01
Assess MOD — 01

Assess eShopOnWeb

Run modernize assess on eShopOnWeb. Check all 5 projects for Swashbuckle removal, target framework (TFM) blockers, and EF Core 10 changes.

02
Modernize MOD — 02

Modernize to .NET 10

Upgrade all 5 projects to net10.0 via Directory.Packages.props. Replace Swashbuckle with Microsoft.AspNetCore.OpenApi and Scalar. Fix EF Core 10 and Blazor WASM breaking changes.

03
Deploy MOD — 03

Containerize & Deploy (eShopOnWeb)

Use Azure Service Bus for order events and Azure Blob Storage for product images. Update Dockerfiles to .NET 10 base images. Deploy Web and PublicApi to Azure Container Apps with Terraform.

04
Data Migration MOD — 04

Migrate the Database to Azure SQL

Apply EF Core migrations for both CatalogContext and AppIdentityDbContext against Azure SQL. Check the seed data and test the end-to-end order flow.

05
Observe & Secure MOD — 05

Observe & Secure

Trace requests across Web and PublicApi with Application Insights. Use Azure Key Vault and Managed Identity to avoid plaintext secrets.

06
Stretch · AI MOD — 06

Add AI to eShopOnWeb

Generate product descriptions, tags, and accessible alt text in the catalog admin with Azure OpenAI gpt-4.1-mini (vision). Use Managed Identity to authenticate.

Rearchitect / rebuild

Follow the prompts from discovery to Azure deployment. Review the package, choose direct, Matt Pocock, or Spec Kit delivery, then rebuild, review, and secure the complete app. Allow two days and choose an app small enough to finish and validate. Discovery may favor a smaller refactor.

00
PrepareREBUILD · 00

Define the goal and scope

Choose an app small enough to rebuild completely. Define required functionality, desired changes, and decision owners. Gather evidence before selecting the target stack.

PlanREBUILD · 01

Assess the app and plan the changes

Recover functional specs, choose an Azure architecture, plan infrastructure, and estimate costs. One planning workflow produces all nine artifacts.

ReviewREBUILD · 02

Review the architecture and costs

Check the documented behavior, alternatives, architecture, costs, diagrams, and migration assumptions. Request specific corrections and save the reviewed version.

ChooseREBUILD · 03

Choose the implementation workflow

Switch to Opus 5.5. Choose direct implementation, Matt Pocock skills, or Spec Kit. Check the build/test baseline and prepare only your workflow's required spec, tickets, or tasks.

RebuildREBUILD · 04

Rebuild the application

Implement all required workflows on Opus 5.5 and test the complete app. Matt's implementation path uses up to two concurrent subagents.

ReviewREBUILD · 05

Review the app and fill the gaps

Run /review and exercise every required workflow. Implement missing behavior, add regression checks, and review the fixes.

FrontendREBUILD · 06

Refine the frontend with Impeccable

Implement approved frontend improvements and verify layout, color, and realistic states. Preserve working behavior; avoid changes without a demonstrated need. Skip only when the app has no UI.

SecureREBUILD · 07

Review security and fix findings

Run /security-review over the complete rebuilt app, including frontend changes. Fix confirmed findings, rerun regression checks, and re-review before deployment.

DeployREBUILD · 08

Run and deploy to Azure

Run locally, deploy with the provided target-specific infrastructure, and validate the Azure endpoint, integrations, and telemetry. Hand off recovery and cleanup responsibilities.

Rebuild lab guides

Plan your pace, get unstuck, and check the evidence you produce.