Skip to content

Model Binding for Structs #37373

Description

@CaiB

Description

Hello!

While this page is already quite comprehensive, I couldn't find any info about binding struct values. According to this StackOverflow answer, structs are intentionally excluded from binding. It might be nice to add even just a quick note about this to the documentation page.

Thanks!

Page URL

https://learn.microsoft.com/en-us/aspnet/core/mvc/models/model-binding?view=aspnetcore-10.0

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/mvc/models/model-binding.md

Document ID

9c4af557-8d06-4c6c-ad2a-0dd234547563

Platform Id

5bedc93c-9e23-37ef-e090-7258b295f643

Article author

@tdykstra

Metadata

  • ID: e24f48f8-6c4d-ecda-6ce6-a7826d396e99
  • PlatformId: 5bedc93c-9e23-37ef-e090-7258b295f643
  • Service: aspnet-core
  • Sub-service: mvc

Related Issues

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions