Skip to content

Clarify controller role for invoking model logic - #37599

Merged
wadepickett merged 2 commits into
dotnet:mainfrom
SkyDevLab:docs/36062-clarify-controller-role
Sep 8, 2026
Merged

wadepickett merged 2 commits into
dotnet:mainfrom
SkyDevLab:docs/36062-clarify-controller-role

Conversation

@SkyDevLab

@SkyDevLab SkyDevLab commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Fixes #36062

Description

This change clarifies the role of controllers in the ASP.NET Core MVC tutorial.

The current wording says that controllers "retrieve model data", while the model description also states that model objects retrieve and store data. This can make the separation of responsibilities unclear for developers learning MVC.

The controller description is updated to state that controllers invoke model logic to retrieve or modify data.


Internal previews

File Preview link
aspnetcore/tutorials/first-mvc-app/adding-controller.md Learn preview

Build report

Comment thread aspnetcore/tutorials/first-mvc-app/adding-controller.md Outdated

@wadepickett wadepickett left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@Skyrunner-Dev-ops, thanks for the fix. Approved.

@wadepickett

Copy link
Copy Markdown
Contributor

@guardrex or @tdykstra, the PR requires a re-review/aproval since I was the last to commit on my review.

@wadepickett
wadepickett merged commit d361025 into dotnet:main Sep 8, 2026
5 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.

UUF:Frist MVC: Adding Controller: Clarify controller role for invoking model logic

4 participants