-
Notifications
You must be signed in to change notification settings - Fork 1
Upgrade to .NET 9, apply modern C# features, and fix CI/CD deprecation warnings #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
Copilot
wants to merge
5
commits into
main
Choose a base branch
from
copilot/fix-41
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+81
−68
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-authored-by: kirkone <15778270+kirkone@users.noreply.github.com>
Co-authored-by: kirkone <15778270+kirkone@users.noreply.github.com>
Co-authored-by: kirkone <15778270+kirkone@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Upgrade to dotnet 9 and apply new features from dotnet 9 and Blazor
Upgrade to .NET 9 and apply modern C# features
Jul 30, 2025
Member
|
@copilot please also have a look why the Azure Static Web Apps CI/CD Action failed. the Error is: |
Copilot stopped work on behalf of
kirkone due to an error
July 30, 2025 15:24
Member
|
@copilot try again, please |
Co-authored-by: kirkone <15778270+kirkone@users.noreply.github.com>
Author
Fixed the Azure Static Web Apps CI/CD Action failure. The issue was caused by deprecated Updated the workflow with:
The workflow should now run without deprecation warnings. Commit: 45cb13c |
Copilot
AI
changed the title
Upgrade to .NET 9 and apply modern C# features
Upgrade to .NET 9, apply modern C# features, and fix CI/CD deprecation warnings
Jul 30, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR upgrades the project from .NET 7.0 to .NET 9 and applies modern C# features and best practices. The upgrade addresses end-of-life warnings for .NET 7.0 and takes advantage of the latest performance improvements and language features. Additionally, it fixes critical CI/CD pipeline failures caused by deprecated GitHub Actions.
Key Changes
Framework Upgrades
Package Updates
All NuGet packages updated to their latest compatible versions:
Microsoft.AspNetCore.Components.WebAssembly→ 9.0.0Azure.Storage.Blobs→ 12.23.0Microsoft.Azure.Functions.Worker→ 2.0.0Microsoft.Extensions.Azure→ 1.10.0Modern C# Features Applied
new()with[]syntax for cleaner, more performant coderequiredkeyword for better compile-time checksCI/CD Pipeline Fixes
actions/upload-artifact@v3toactions/upload-artifact@v4actions/checkout@v2toactions/checkout@v4Build System Improvements
sasscommandCode Quality Enhancements
Before:
After:
Testing
The project now leverages the latest .NET 9 capabilities while maintaining full backward compatibility, improved performance, and a reliable deployment pipeline.
Fixes #41.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.