REST API (ASP.NET Core)

A JSON API on ASP.NET Core with minimal APIs: EF Core with PostgreSQL, built-in validation and OpenAPI, JWT bearer authentication, a rate limiter, problem details for errors and xUnit integration tests against a real database in Docker.

What you build

  • A runnable ASP.NET Core API with one resource: create, read, update and delete behind token authentication
  • Owner-only access, validation, capped pagination, a rate limiter and problem-details errors
  • xUnit integration tests on PostgreSQL in Docker, an OpenAPI description and a CI workflow

What you need

StackASP.NET Core · EF Core · xUnit · Testcontainers · Postgres
LevelIntermediate
PlatformServer
PlanPro
Needs on your computer.NET SDK 10 or newer, Docker
Setup questionsAbout 5 minutes

Start a project from one of these templates

Free plan on macOS. Pro is $10 a month or $96 a year.