https://github.com/jcleigh/dotnet-core-mixed-versions-example
Mixing .NET Core 2.1, 2.2, and 3.1 for GitHub Copilot modernization demos
https://github.com/jcleigh/dotnet-core-mixed-versions-example
dotnet dotnetcore github-copilot github-copilot-training
Last synced: 6 months ago
JSON representation
Mixing .NET Core 2.1, 2.2, and 3.1 for GitHub Copilot modernization demos
- Host: GitHub
- URL: https://github.com/jcleigh/dotnet-core-mixed-versions-example
- Owner: jcleigh
- License: mit
- Created: 2025-03-11T14:36:17.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-08T21:06:50.000Z (6 months ago)
- Last Synced: 2025-08-08T22:24:33.858Z (6 months ago)
- Topics: dotnet, dotnetcore, github-copilot, github-copilot-training
- Language: C#
- Homepage:
- Size: 664 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotnet-core-mixed-versions-example
This repository demonstrates how GitHub Copilot can help modernize .NET projects and tooling, especially when dealing with legacy codebases that use multiple .NET Core versions. It is designed as a hands-on demo for Copilot's capabilities in refactoring, upgrading, and maintaining .NET solutions.
## Project Structure
The codebase contains several types of .NET projects:
- **DotNetCoreTwoPointOne**: A console application targeting .NET Core 2.1, with a simple model (`Person`).
- **DotNetCoreTwoPointTwo**: A console application targeting .NET Core 2.2, also with a basic model (`Person`).
- **DotNetCoreTwoPointTwo.Lib**: A class library targeting .NET Core 2.2, intended for sharing code between projects.
- **DotNetCoreThreePointOne**: A console application targeting .NET Core 3.1, with its own model (`Person`).
- **DotNetCoreThreePointOne.Web**: An ASP.NET Core 3.1 MVC web application, including controllers, views, and models.
- **DotNetCoreThreePointOne.Test**: A test project for the web application, demonstrating unit testing in .NET Core 3.1.
## Purpose
The main goal is to showcase how Copilot can assist in:
- Upgrading older .NET Core projects to newer versions
- Refactoring and modernizing code
- Adding tests and improving coverage
- Migrating between project types (console, library, web, test)
- Handling mixed-version solutions and dependencies
This repository is ideal for experimenting with Copilot's .NET features and for learning best practices in modernization workflows.