Skip to content

Master GitHub Copilot for C#/.NET development via this curriculum! Learn AI-driven paired programming, optimize your workflow, and write cleaner, faster code.

License

Notifications You must be signed in to change notification settings

microsoft/mastering-github-copilot-for-dotnet-csharp-developers

Repository files navigation

Mastering GitHub Copilot for .NET / C# Developers

Mastering GitHub Copilot for C#/.NET Developers

Enhance your coding efficiency with our expert-led 6-lesson GitHub Copilot course tailored for C#/.NET developers. Learn how to seamlessly integrate AI-powered coding assistance into your workflow, automate testing, and boost team collaboration using Visual Studio Code and Copilot Chat. From intelligent autocompletion to streamlined unit testing, this course covers essential techniques to help you write cleaner, faster, and smarter code.

🌱 Getting Started

To get started, make sure to follow the instructions on how to fork the lessons into your own GitHub account. This will allow you to modify the code and complete the challenges at your own pace.

To use GitHub Copilot, you must have an active GitHub Copilot subscription.

Sign up for free here: GitHub Copilot.

To make it easier to revisit this repository in the future, you can also star (🌟) this repo this repo.

Below are links to each lesson—feel free to explore and dive into any topic that interests you the most!

🧠 Want to learn more?

After completing this course, check out our GitHub Copilot Learn Collection to continue leveling up your AI Paired Programming knowledge!

🚀 Are you a startup or got an idea you want to launch?

Sign up for Microsoft for Startups Founders Hub to receive free OpenAI credits and up to $150k towards Azure credits to access OpenAI models through Azure OpenAI Services.

🙏 Want to help?

Here are ways you can contribute to this course:

  • Find spelling errors or code errors, Raise an issue or Create a pull request
  • Send us your ideas, maybe your ideas for new lessons or exercises, and let us know how we can improve.

📂 Each lesson includes:

  • a written lesson located in the README
  • a challenge or assignment to apply your learning
  • links to extra resources to continue your learning

🗃️ Lessons

Lesson Link Concepts Taught Learning Goal
01 Introduction to GitHub Get started using GitHub in less than an hour. Introduction to repositories, branches, commits, and pull requests.
02 Introduction to GitHub Codespaces Develop code using GitHub Codespaces and Visual Studio Code! How to create a codespace, push code from a codespace, select a custom image, and customize a codespace.
03 Introduction to GitHub Copilot GitHub Copilot can help you code by offering autocomplete-style suggestions right in VS Code and Codespaces. Creating files that will have code generated by Copilot AI for code and comment suggestions.
04 Using GitHub Copilot with C# Use GitHub Copilot, an AI pair programmer that offers autocomplete-style suggestions as you code, to work with C#. Enable the GitHub Copilot extension in Visual Studio Code. Craft prompts that can generate useful suggestions from GitHub Copilot. Use GitHub Copilot to improve a C# Minimal API project.
05 Creating a Mini Game with GitHub Copilot Use GitHub Copilot to assist you in building a C# based mini game. Craft prompts that can generate useful suggestions from GitHub Copilot to incorporate gaming logic and improve your C# based game.
06 Getting Started with Copilot for Azure to Deploy to the Cloud Learn cloud deployment with GitHub Copilot for Azure—your ultimate guide to streamlined cloud success. Effortless application deployment leveraging Azure’s powerful scalability.

🎒 Other Courses

Check out more .NET courses on Microsoft Learn Training on:

📽️ Beginner video series:

Additional Learning

Our team produces other courses! Check out:

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.