ardalis/Result
A result abstraction that can be mapped to HTTP response codes if needed. observed · 2026-08-28
Health v2 · maintenance only
70/100
- Activity 90
- Release rhythm 28
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 46
- age_days: 2477
- days_rel: 674
- days_push: 61
- n_releases_24m: 2
Adoption not part of the score
1046 stars · 127 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A C# library providing a Result abstraction for representing success and failure outcomes of service methods, with optional mapping to HTTP response codes via an ASP.NET Core package. It supports functional patterns like Maybe and integrates with FluentValidation.
Use cases
- return success or failure from service methods without throwing exceptions
- map domain results to HTTP status codes in ASP.NET Core APIs
- handle validation errors in MediatR handlers with results
- implement functional error handling in C# with Result and Maybe types
- avoid using exceptions to determine API responses
When to choose
- building .NET APIs where you want explicit success/failure return types instead of exceptions
- following domain-driven design and clean architecture patterns in C#
- you need consistent mapping of domain outcomes to HTTP response codes
When to avoid
- working outside the .NET ecosystem
- your codebase already standardizes on a different result/error library
- you prefer exception-based error handling conventions
Facets
library · maturity active
error-handling middleware api-framework backend web-development developer-tools dotnet jvm result-pattern functional-error-handling aspnetcore domain-driven-design maybe-monad http-status-mapping
1 source
- readme: https://github.com/ardalis/Result · fetched 2026-08-28 · 3826cdbdf7f9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ardalis/Result | main | 70 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem