Skip to content

New: Minimal API endpoint validation: Class types and record types #35400

@wadepickett

Description

@wadepickett

Description

See #35217 (comment) (Prev 4) and #35188 (Prev 3)

  • Update this topic for this new feature
  • Update WN with a new section on this subject

Validation support was added for Minimal API's in .NET 10, preview 3 for class types but not record types. For p4 record types have been added.
This topic needs a new section on validation support for Minimal API's which allows request validation of data sent to an API endpoint. That new section should include both class types validation (Prev 3) and record types validation (Prev 4)

Page URL

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

Content source URL

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

Document ID

b09824ab-b051-75a1-13b7-b0e281cc46e0

Platform Id

24c01f0e-630a-08a5-698d-9668e1a7b40e

Article author

@wadepickett

Metadata

  • ID: b09824ab-b051-75a1-13b7-b0e281cc46e0
  • PlatformId: 24c01f0e-630a-08a5-698d-9668e1a7b40e
  • Service: aspnet-core
  • Sub-service: fundamentals

Related Issues


Associated WorkItem - 429980

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions