Skip to content

Conversation

@timdeschryver
Copy link
Contributor

@timdeschryver timdeschryver commented Nov 24, 2025

Fixes #36359

  • Create a screenshot before the formatting data attributes are added (no format for display names, and date value formatting).

  • Create a screenshot after the formatting.

  • Update the existing screenshot with the final view (including the currency). AFAIK this screenshot isn't currently used.

  • Update the description to also mention that the formatting of the model works because the view uses the @Html.DisplayFor methods. This is already code that's covered in previous chapters, but it doesn't explicitly mentions the use of these methods. (It does in chapter 7, https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/search?view=aspnetcore-10.0#add-search-by-genre-to-the-index-view)

  • Update the final screenshot of chapter 5, this should also not show the formatted fields.

I didn't know if the start of this tutorial should also be updated to target .NET 10 (and Visual Studio 2026). Since this is a bigger change that impacts many pages I left it untouched, but I can update it if you want.

image

Internal previews

📄 File 🔗 Preview link
aspnetcore/tutorials/first-mvc-app/controller-methods-views.md Part 6, controller methods and views in ASP.NET Core
aspnetcore/tutorials/first-mvc-app/working-with-sql.md [Visual Studio](https://review.learn.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/working-with-sql?branch=pr-en-us-36395)

@guardrex guardrex requested a review from wadepickett November 25, 2025 00:23
@wadepickett
Copy link
Contributor

Excellent, thanks @timdeschryver!

@wadepickett wadepickett merged commit 0d9479a into dotnet:main Nov 26, 2025
4 checks passed
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.

Part 6, controller methods and views in ASP.NET Core

2 participants