Implement code improvements using GitHub Copilot tools (AZ-2007.5)

 

Course Overview

This module explores using GitHub Copilot Chat to develop improvements for an existing codebase. Exercises provide practical experience implementing GitHub Copilot suggestions that improve code quality, reliability, performance, and security.

Prerequisites

One or more years of software development experience is recommended.

Experience developing C# applications using Visual Studio Code and the C# Dev Kit extension is recommended.

An active subscription for GitHub Copilot is required for either your personal GitHub account or a GitHub account managed by an organization or enterprise. You can set up a GitHub Copilot Free plan or sign-up for a GitHub Copilot Pro subscription with a one-time 30-day free trial. For this training, signing up for a GitHub Copilot Free plan is sufficient.

Awareness of the GitHub Copilot free trial conditions: if you choose the 30-day free trial offer for GitHub Copilot Pro, a form of payment is requested at sign-up. Charges aren't applied until the trial is over, unless you cancel before the conclusion of the 30-day period.

Experience using GitHub Copilot in Visual Studio Code to explain, debug, and generate code.

Course Objectives

By the end of this module, you're able to:

  • Develop prompts/questions for GitHub Copilot Chat that help you to improve the code in your existing code projects.
  • Implement code update suggestions from GitHub Copilot Chat that improve existing code in the areas of code quality, reliability, performance, and security.

Course Content

  • Introduction
  • Review GitHub Copilot's code improvement features
  • Examine GitHub Copilot's quick fix options
  • Review code refactoring scenarios and GitHub Copilot best practices
  • Refactor code using GitHub Copilot Inline Chat
  • Refactor code using GitHub Copilot Chat modes
  • Examine the GitHub Copilot code review features
  • Exercise - Refactor existing code using GitHub Copilot
  • Module assessment
  • Summary

Schedule

Currently there are no training dates scheduled for this course.