Skip to content

De-duplicate documentation on parameter bindingΒ #36251

@mikekistler

Description

@mikekistler

Description

Problem

For ASP.NET Core releases 8-10, the same content on parameter binding appears in two different places. It appears in the "Parameter binding" article (this one) and also in the "Parameter binding" section of the Minimal APIs quick reference:

Image

The content in both places comes from the same source:

aspnetcore/fundamentals/minimal-apis/includes/parameter-binding8-10.md

There are several problems with this:

  • duplicate content can confuse readers (Why does this appear in two places? Are there differences?)
  • The shear bulk of this content can be daunting to readers
  • Because the same content is used in a top-level article and in a section within an article, the headings tags used (h3 and above) don't get picked up and displayed in the "In this article" nav normally shown in the right hand pane.
Image

Desired solution

  • The "Parameter binding" section of "Minimal APIs quick reference" should be changed to a brief summary of the full content (1/10 the size or less) with a link to the full article.
  • The headings in the "Parameter binding" article should be adjusted so that they generate a proper "In this article" nav in the right hand pane.

Page URL

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/minimal-apis/parameter-binding?view=aspnetcore-10.0

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/minimal-apis/parameter-binding.md

Document ID

a09dcf06-a685-e5b8-0ce4-a4e53c57a9fd

Platform Id

c0db1758-e9b3-c215-4fe4-e9a63d9cb76e

Article author

@wadepickett

Metadata

  • ID: a09dcf06-a685-e5b8-0ce4-a4e53c57a9fd
  • PlatformId: c0db1758-e9b3-c215-4fe4-e9a63d9cb76e
  • Service: aspnet-core
  • Sub-service: fundamentals

Related Issues


Associated WorkItem - 502082

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions