dotnet presents a detailed walkthrough of modernizing legacy .NET applications using GitHub Copilot, including automation of upgrades and seamless Azure deployment.

Modernize .NET Apps in Days with GitHub Copilot

Overview

This video presents a hands-on journey modernizing .NET applications leveraging GitHub Copilot. It covers the automation of code upgrades, reduction of bugs and security risks, and acceleration of developer workflows. The session follows a real-world scenario: migrating and upgrading the Contoso University App.

Chapters & Key Topics

  • The Challenge of Modernizing Legacy Apps: Outlines the complexities and risks involved in updating large, mature .NET codebases.
  • Introducing the .NET Upgrade Tool: Presents Microsoft’s tool for streamlining .NET migrations.
  • Demo: Upgrading Contoso University App: Step-by-step demonstration of updating legacy code, including identifying outdated patterns, handling breaking changes, and automating updates using Copilot.
  • Using GitHub Copilot for .NET Migration: Shows how Copilot provides context-aware code suggestions, refactors legacy patterns, and proposes modern approaches.
  • Handling Errors and Agent Mode Automation: Demonstrates troubleshooting, Copilot’s error-handling support, and automation capabilities for repetitive migration steps.
  • Security Vulnerabilities and Upgrade Planning: Explains identifying and mitigating legacy security flaws during modernization.
  • Executing the Upgrade Plan with Copilot: Walks through guided implementation of architectural improvements.
  • Feature-by-Feature Upgrade Progress: Tracks and visualizes migration using tools such as Mermaid diagrams.
  • Preparing for Azure Deployment: Lays out architectural decisions for hosting in Azure, including using Azure Container Apps.
  • Provisioning Azure Resources with Bicep and AZD: Automates infrastructure creation and configuration for deployment.
  • Final Deployment and App Launch in Azure: Shows deployment steps, validation, and delivering a cloud-ready app.

Developer Takeaways

  • Automate and accelerate .NET upgrades with GitHub Copilot
  • Identify and address security and compliance issues early
  • Modernize app architectures for Azure using containerization
  • Use Bicep and Azure Developer CLI (AZD) to provision resources reproducibly
  • Combine Copilot’s AI suggestions with proven migration strategies

Social & Community


For more in-depth learning, connect with dotnet via social links provided in the video description.