Skip to content

ASP.NET Core Minimal API sample using endpoint filters for reusable request validation, with Swagger/OpenAPI and beginner-friendly structure.

License

Notifications You must be signed in to change notification settings

codingdroplets/dotnet-minimal-api-endpoint-filters

Repository files navigation

dotnet-minimal-api-endpoint-filters

.NET License Last Commit

A beginner-friendly ASP.NET Core Minimal API sample showing endpoint filters for reusable request validation, with Swagger/OpenAPI.

Key Features

  • Minimal API product endpoints
  • Reusable IEndpointFilter validation
  • Swagger/OpenAPI for testing
  • Beginner-friendly clean structure

Architecture Overview

  • Program.cs: endpoint registration and filter wiring
  • ProductValidationFilter: reusable validation before handler execution

Tech Stack

  • .NET 10
  • ASP.NET Core Minimal APIs
  • Swagger/OpenAPI

Getting Started

dotnet restore
dotnet build
dotnet run --project DotnetMinimalApiEndpointFilters.Api

Author / Maintainer

About

ASP.NET Core Minimal API sample using endpoint filters for reusable request validation, with Swagger/OpenAPI and beginner-friendly structure.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages