description FastEndpoints Overview
FastEndpoints is an open-source web framework for ASP.NET Core that implements the REPR (Request-Endpoint-Response) pattern as an alternative to the traditional MVC controller approach. Built on top of ASP.NET Core Minimal APIs, it provides built-in integration with FluentValidation for request validation, automatic endpoint discovery, and convention-based routing. The framework organizes each endpoint's request DTOs, business logic, and response DTOs into separate classes to reduce boilerplate. It is distributed as a NuGet package under the MIT License.
help FastEndpoints FAQ
How does a FastEndpoints endpoint differ from an ASP.NET Core controller?
A FastEndpoints route is typically represented by a dedicated endpoint class with explicit request and response types. It runs on ASP.NET Core but avoids the traditional controller and action structure.
Can FastEndpoints use FluentValidation?
Yes. Validation rules can be placed in validator classes associated with request DTOs, and invalid requests can be rejected before the endpoint handler executes.
Does FastEndpoints generate OpenAPI documentation?
FastEndpoints supports Swagger and OpenAPI documentation through its documentation integration. Endpoint metadata, request models, and response descriptions can be exposed to tools such as Swagger UI.
Can FastEndpoints use ASP.NET Core authentication and dependency injection?
Yes. It works with ASP.NET Core's service container and security pipeline, so endpoint classes can receive registered dependencies and enforce authorization policies or roles.
explore Explore More
Similar to FastEndpoints
See all arrow_forwardReviews & Comments
Write a Review
Be the first to review
Share your thoughts with the community and help others make better decisions.