This lab will guide you through using GitHub Copilot's various features in Visual Studio 2022. You'll start with a partially completed TinyShop application and use GitHub Copilot to complete missing features and enhance the application.
- Visual Studio 2022 with GitHub Copilot extension installed
- .NET 9 SDK
- GitHub account with Copilot subscription (including Free)
The TinyShop application consists of two main projects:
- A backend API built with .NET Minimal APIs
- A frontend Blazor Server application
You'll use GitHub Copilot's various features to enhance and complete this application.
- Setup
- Exploring the Codebase with GitHub Copilot Chat
- Code Completion with Ghost Text
- Enhancing UI with Inline Chat
- Referencing Code Files in Chat
- Using Custom Instructions
- Implementing Features with Copilot Agent
- Using Copilot Vision
- Debugging with Copilot
- Commit Summary Descriptions
Key Takeaway: These tools can significantly boost your productivity as a developer by automating repetitive tasks, generating boilerplate code, and helping you implement complex features more quickly.
Resources | Links | Description |
---|---|---|
Build session page | https://build.microsoft.com/sessions/LAB300 | Event session page with downloadable recording, slides, resources, and speaker bio |
Microsoft Learn | https://aka.ms/AAI_DevAppGitHubCop_Plan | Official Collection or Plan with skilling resources to learn at your own pace |