Skip to content

Upgrade project and .NET version#44

Merged
alefranz merged 17 commits intomainfrom
upgrades
May 18, 2025
Merged

Upgrade project and .NET version#44
alefranz merged 17 commits intomainfrom
upgrades

Conversation

@alefranz
Copy link
Copy Markdown
Owner

No description provided.

@alefranz alefranz requested a review from Copilot May 18, 2025 10:16
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades samples and CI to .NET 9.0, removes the obsolete .NET Core 3.1 sample, and refreshes documentation and tests for consistency.

  • Deleted the entire SampleWebApplication3_1 project and its integration tests
  • Enhanced 2.1 integration tests to use TestHost and a solution‐relative content root
  • Updated GitHub Actions workflow to use .NET 9.0, the new solution file, and latest action versions
  • Added alt text and a support note to README

Reviewed Changes

Copilot reviewed 35 out of 45 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
samples/3.1/SampleWebApplication3_1/Startup.cs Removed old ASP.NET Core 3.1 startup code
samples/3.1/SampleWebApplication3_1/Program.cs Removed obsolete WebHost setup
samples/3.1/SampleWebApplication3_1.IntegrationTests/*.cs Deleted all 3.1 integration tests
samples/2.1/SampleWebApplication2_1.IntegrationTests/LoggingTestWithInjectedFactory.cs Added Microsoft.AspNetCore.TestHost and solution‐relative root
samples/2.1/SampleWebApplication2_1.IntegrationTests/LoggingTest.cs Added UseSolutionRelativeContentRoot for reliable content path
README.md Added alt text, bolded star, and support note
.github/workflows/build.yml Upgraded to checkout@v4, setup-dotnet@v4, target .NET 9.0, use .CI.slnf
Files not reviewed (10)
  • Directory.Build.props: Language not supported
  • MELT.CI.slnf: Language not supported
  • MELT.sln: Language not supported
  • samples/2.1/SampleWebApplication2_1.IntegrationTests/SampleWebApplication2_1.IntegrationTests.csproj: Language not supported
  • samples/2.1/SampleWebApplication2_1/SampleWebApplication2_1.csproj: Language not supported
  • samples/3.1/SampleWebApplication3_1.IntegrationTests/Properties/launchSettings.json: Language not supported
  • samples/3.1/SampleWebApplication3_1.IntegrationTests/SampleWebApplication3_1.IntegrationTests.csproj: Language not supported
  • samples/3.1/SampleWebApplication3_1/Properties/launchSettings.json: Language not supported
  • samples/3.1/SampleWebApplication3_1/SampleWebApplication3_1.csproj: Language not supported
  • samples/3.1/SampleWebApplication3_1/appsettings.Development.json: Language not supported

Comment thread README.md Outdated
Comment thread README.md Outdated
alefranz and others added 2 commits May 18, 2025 11:22
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@alefranz alefranz merged commit 125be04 into main May 18, 2025
4 checks passed
@alefranz alefranz deleted the upgrades branch May 18, 2025 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants