# FastEndpoints: structuring request validation and errors

Canonical source : [FastEndpoints: structuring request validation and errors](<https://sebastien.rigaux.be/en/tech-watch/links/fastendpoints-structuring-request-validation-and-errors>)

FastEndpoints structures validation around the `bind -> validate -> handle` flow and separates well-formedness checks from data-dependent business rules. The article shows how to collect multiple errors before returning a 400 response, rather than stopping the handler at the first failed check.

One design detail to watch: validators are singletons. To access a scoped dependency, the example uses `Resolve<T>` inside a rule; the article also explains the testing trade-off and how to customize errors globally with Problem Details.

- Selected on : 2026-11-11

- Resource publication : 2026-06-30

- Entry updated : 2026-11-11T07:52:36+0000

- Format : Article

- Source language : EN

- Credit : Barret

Original resource : [FastEndpoints: structuring request validation and errors](<https://barretblake.dev/posts/development/2026/06/fastendpoints-validation/>)

Tags : [ASP.NET Core](<https://sebastien.rigaux.be/en/tech-watch/tags/asp-net-core>) · Integration testing · FluentValidation

Available versions : [Français](<https://sebastien.rigaux.be/veille/liens/fastendpoints-structurer-la-validation-des-requetes-et-des-erreurs>) · [English](<https://sebastien.rigaux.be/en/tech-watch/links/fastendpoints-structuring-request-validation-and-errors>)

[Back to tech watch](<https://sebastien.rigaux.be/en/tech-watch>)
