Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching
☆4,014Aug 7, 2024Updated last year
Alternatives and similar repositories for OneOf
Users that are interested in OneOf are comparing it to the libraries listed below
Sorting:
- Deal with Primitive Obsession - define ValueObjects in a single line (of C#).☆942Mar 27, 2023Updated 2 years ago
- C# pure functional programming framework - come and get declarative!☆7,033Feb 11, 2026Updated last month
- A generalised Result object implementation for .NET/C#☆2,569Jul 10, 2025Updated 8 months ago
- Verify is a snapshot testing tool that simplifies the assertion of complex data models and documents.☆3,401Updated this week
- C# discriminated union source generator☆868Mar 12, 2026Updated last week
- Functional extensions for C#☆2,785Mar 2, 2026Updated 2 weeks ago
- A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.☆4,258Updated this week
- A .NET source generator for generating object mappings. No runtime reflection.☆3,950Updated this week
- A high performance implementation of Mediator pattern in .NET using source generators.☆3,396Mar 2, 2026Updated 2 weeks ago
- A light-weight REST API development framework for ASP.NET 8 and newer.☆5,856Mar 12, 2026Updated last week
- A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objects☆1,391Updated this week
- Assembly scanning and decoration extensions for Microsoft.Extensions.DependencyInjection☆4,260Jan 23, 2026Updated last month
- Micro-framework for .NET console application. Cocona makes it easy and fast to build console applications on .NET.☆3,471Aug 13, 2024Updated last year
- A Rosyln-powered generator for strongly-typed IDs☆1,728Feb 21, 2025Updated last year
- A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.☆9,628Dec 22, 2025Updated 2 months ago
- The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your RES…☆9,436Feb 27, 2026Updated 2 weeks ago
- Makes life working with units of measurement just a little bit better.☆2,932Mar 8, 2026Updated last week
- Intelligent database cleaner for integration tests☆2,976Jan 19, 2026Updated last month
- A .NET library that makes it easier to create beautiful console applications.☆11,269Updated this week
- Library for interacting with command-line interfaces☆4,916Mar 4, 2026Updated 2 weeks ago
- Simple, unambitious mediator implementation in .NET☆11,830Mar 6, 2026Updated last week
- A fast, fun and stimulating object to object Mapper☆5,026Updated this week
- A simple, fluent discriminated union of an error or a result.☆2,003Aug 21, 2024Updated last year
- Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker…☆14,135Updated this week
- A modern, fast and flexible .NET testing framework☆3,801Updated this week
- A base class for quickly and easily creating strongly typed enum replacements in C#.☆2,396Jul 16, 2025Updated 8 months ago
- Near-zero config .NET library that makes advanced application features like Task Scheduling, Caching, Queuing, Event Broadcasting, and mo…☆4,279Jul 20, 2025Updated 7 months ago
- .NET Transactional Document DB and Event Store on PostgreSQL☆3,344Updated this week
- Powerful .NET library for benchmarking☆11,375Updated this week
- FusionCache is an easy to use, fast and robust hybrid cache with advanced resiliency features.☆3,593Updated this week
- Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities☆9,459Updated this week
- High performance understanding for stack traces (Make error logs more productive)☆2,865Mar 14, 2024Updated 2 years ago
- Carter is framework that is a thin layer of extension methods and functionality over ASP.NET Core allowing code to be more explicit and m…☆2,422Nov 30, 2025Updated 3 months ago
- A popular .NET validation library for building strongly-typed validation rules.☆9,658Mar 10, 2026Updated last week
- A small .NET package to generate YouTube-like hashes from one or many numbers. Use hashids when you do not want to expose your database i…☆3,371Oct 25, 2023Updated 2 years ago
- Supercharged .NET server side development!☆2,035Updated this week
- A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests.…☆3,815Updated this week
- A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.☆2,399Mar 3, 2026Updated 2 weeks ago
- PolySharp provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel. Add …☆2,172Dec 6, 2025Updated 3 months ago