-
Notifications
You must be signed in to change notification settings - Fork 733
Update to .NET 9 #57
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
Open
jongalloway
wants to merge
7
commits into
main
Choose a base branch
from
dotnet9-update
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.
Open
Update to .NET 9 #57
+58,078
−40,745
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
Loading status checks…
There was a problem hiding this 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 migrates the project from .NET 8.0 to .NET 9.0 while making minor improvements to project files and Razor Pages.
- Update target framework versions in multiple .csproj files
- Change the Docker image and .NET SDK version in the dev container and workflow configuration
- Update Razor Pages content including a new importmap tag and corrected links and metadata
Reviewed Changes
Copilot reviewed 183 out of 183 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
Pages/Shared/_Layout.cshtml | Added an empty importmap script tag and updated the copyright |
Pages/Privacy.cshtml.cs | Removed an unnecessary blank line |
Pages/Index.cshtml.cs | Cleaned up the using directive |
Pages/Index.cshtml | Updated the ASP.NET Core documentation link |
Pages/Error.cshtml.cs | Reordered and adjusted using directives for better clarity |
RazorPagesPizza.sln | Updated Visual Studio version info and project GUID |
Various .csproj files | Updated TargetFramework from net8.0 to net9.0 |
.github/workflows/dotnet.yml | Updated the .NET SDK version to 9.0.x |
.devcontainer/devcontainer.json | Updated the Docker image version to dotnet:9.0 |
3-razor-pages/0-start/RazorPagesPizza/RazorPagesPizza/Pages/Shared/_Layout.cshtml
Show resolved
Hide resolved
Loading status checks…
…ntation
Loading status checks…
…atibility and enhanced Swagger integration
Loading status checks…
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 pull request includes updates to migrate the project from .NET 8.0 to .NET 9.0, along with minor improvements to project files and Razor Pages. The most significant changes include updating the target framework, Docker image, and workflow configuration, as well as minor content and metadata updates.
Fixes #56
Migration to .NET 9.0:
.devcontainer/devcontainer.json
to usemcr.microsoft.com/devcontainers/dotnet:9.0
instead of8.0
..NET SDK
version in.github/workflows/dotnet.yml
to9.0.x
.TargetFramework
in multiple.csproj
files across lessons 2 to 5 fromnet8.0
tonet9.0
.Razor Pages Updates:
Index.cshtml
to point to the latest ASP.NET Core documentation (learn.microsoft.com
).<script type="importmap"></script>
tag inPages/Shared/_Layout.cshtml
for potential future JavaScript module usage.Pages/Shared/_Layout.cshtml
from 2023 to 2025.Minor Project File and Metadata Updates:
RazorPagesPizza.sln
.using
directives inError.cshtml.cs
for better organization.Error.cshtml.cs
andPrivacy.cshtml.cs
. [1] [2]