# ardalis/ApiEndpoints

A project for supporting API Endpoints in ASP.NET Core web applications.

Repository: https://github.com/ardalis/ApiEndpoints
Canonical: https://ross.abutalabs.com/products/apiendpoints
Language: C#
License: MIT
License Family: permissive
Topics: api, asp-net-core, csharp, dotnet, dotnet-core, endpoints, hacktoberfest, web-api
Last push: 2026-03-09T12:31:50+00:00

## Health v2 (maintenance only)
Score: 55/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 71, release rhythm 8, longevity 100
- inputs: {"age_days": 2398, "days_push": 177, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3200, forks 232 (observed 2026-08-28T04:07:48.474671+00:00)

## What it is
A C# library providing base classes for organizing ASP.NET Core web APIs around one endpoint per class (the REPR pattern) instead of traditional controllers. It is distributed as the Ardalis.ApiEndpoints NuGet package.

## Use cases
- organize asp.net core api endpoints one class per endpoint
- replace controllers with single-action endpoint classes in dotnet
- implement the repr pattern in web apis
- structure large asp.net core web api codebases
- learn endpoint-per-class api design in c#

## When to choose
- you're on ASP.NET Core with MVC controllers and want one-file-per-endpoint organization
- you want a lightweight, well-known base class approach to API endpoints in .NET

## When to avoid
- you're on .NET 6+ and can use Minimal APIs instead
- you want a richer, faster endpoint framework - the author recommends FastEndpoints
- you're not building ASP.NET Core web APIs

## Facets
- artifact type: library
- maturity: maintenance
- function: api-framework, routing, web-framework
- domain: web-development, backend, apis
- platform: dotnet, cross-platform
- tags: asp-net-core, endpoints, repr-pattern, mvc, nuget, web-server

## Member repositories
- ardalis/ApiEndpoints (main) score 55

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:48.474671+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:24:50.197913+00:00, confidence not recorded.
  - readme: https://github.com/ardalis/ApiEndpoints (fetched 2026-08-28T04:07:48.474671+00:00, sha 19206f60f49d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
