-
Notifications
You must be signed in to change notification settings - Fork 25k
Add .NET 10 and Visual Studio 2026 moniker section to Razor Pages tutorial #36590
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: meaghanlewis <[email protected]>
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 pull request updates the Razor Pages "Get started" tutorial to support .NET 10 and Visual Studio 2026. The changes add a new moniker range for aspnetcore-10.0, update code samples, replace screenshots with 2026 versions, and modernize language throughout the tutorial for improved clarity.
Changes:
- Added
aspnetcore-10.0moniker sections to validation, SQL, and search tutorial pages with updated content - Updated metadata dates to 01/09/2026 and replaced code sample references to use
snapshot-sample10 - Replaced Visual Studio screenshots with 2026 versions and updated image paths
Reviewed changes
Copilot reviewed 112 out of 173 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| validation.md | Added .NET 10 validation package information and moniker section with modernized language |
| validation9.md | New include file containing aspnetcore-9.0 specific content |
| sql.md | Updated for .NET 10 with new screenshots and improved clarity |
| sql9.md | New include file for aspnetcore-9.0 SQL content |
| search9.md | New include file for aspnetcore-9.0 search functionality |
| validation-errors.png | New validation error screenshot |
| sql/media/*.png | Three new Visual Studio 2026 screenshots |
| snapshot-sample10/wwwroot/lib/* | License files for jQuery libraries |
| site.js | New JavaScript file for snapshot-sample10 |
Files not reviewed (5)
- aspnetcore/tutorials/razor-pages/razor-pages-start/sample/RazorPagesMovie10/Migrations/20240613200303_InitialCreate.Designer.cs: Language not supported
- aspnetcore/tutorials/razor-pages/razor-pages-start/sample/RazorPagesMovie10/Migrations/20240623214222_Rating.Designer.cs: Language not supported
- aspnetcore/tutorials/razor-pages/razor-pages-start/sample/RazorPagesMovie10/Migrations/20240623215214_RatingTwo.Designer.cs: Language not supported
- aspnetcore/tutorials/razor-pages/razor-pages-start/snapshot-sample10/Migrations/20230606012811_New_DataAnnotations.Designer.cs: Language not supported
- aspnetcore/tutorials/razor-pages/razor-pages-start/snapshot-sample10/Migrations/20240613200303_InitialCreate.Designer.cs: Language not supported
|
Review feedback, screen images: Screenshot of Edit page needs a grey border around the entire image when it has white area that bleeds to the rest of the page as seen on the rigth side here: 2nd tutorial: Internal Preview: Get Started
Nice to have a red border like this so it is quick to spot: However, kind of a minor nit since it does have a check box checked. A little hard to see though. Your call. Here are some of my own reminder notes on doing borders that might be of help:
|
aspnetcore/tutorials/razor-pages/razor-pages-start/sample/RazorPagesMovie10/Program.cs
Outdated
Show resolved
Hide resolved
aspnetcore/tutorials/razor-pages/razor-pages-start/snapshot-sample10/Program.cs
Outdated
Show resolved
Hide resolved
aspnetcore/tutorials/razor-pages/razor-pages-start/snapshot-sample10/Program1Snip.cs
Outdated
Show resolved
Hide resolved
|
wadepickett
left a comment
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.
Great work! There were a few item to fix that I noted. Overall though, it looks great and you made some nice improvements along the way. :)
|
@wadepickett thanks for your review. I've updated all the images, so that they now have the proper border, correct dimensions, and all the VS2026 screenshots are now in dark mode. I also updated the syntax error in the code sample. |



Adds aspnetcore-10.0 moniker section to the "Get started with Razor Pages" tutorial per issue requirements.
Changes
This pull request updates the Razor Pages tutorial content and related includes to target ASP.NET Core 10.0, modernizes screenshots and code samples, and improves consistency and clarity across documentation. It also removes obsolete .NET 10 validation package information and updates prerequisites for Visual Studio and Visual Studio Code. The most important changes are outlined below.
Tutorial and Documentation Updates for ASP.NET Core 10.0:
Updated moniker ranges, code samples, and screenshots throughout the Razor Pages tutorial (
da1.md,model.md, and related includes) to use ASP.NET Core 10.0 and Visual Studio 2026, ensuring all instructions and visuals reflect the latest version. [1] [2] [3] [4] [5] [6] [7] [8] [9]Added a new include file (
da1-9.md) and adjusted main tutorial files to separate instructions for ASP.NET Core 9.0 and 10.0, improving clarity for users on different versions. [1] [2]Content and Language Improvements:
Revised explanations, instructions, and terminology for greater clarity and consistency, including changes to how model binding, data annotations, and concurrency handling are described. [1] [2] [3] [4]
Updated and replaced screenshots to match the new Visual Studio 2026 interface and ASP.NET Core 10.0 project structure. [1] [2] [3]
Prerequisite and Versioning Updates:
Removal of Obsolete Content:
.NET 10 validation package informationinclude, as this content is no longer relevant for the updated documentation set.Metadata and Date Updates:
These changes collectively ensure that the tutorials and supporting documentation are accurate, up-to-date, and easier to follow for users working with the latest version of ASP.NET Core and Visual Studio.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
Internal previews
Toggle expand/collapse