Sample Projects

Working code samples β€” each is a standalone dotnet run project.

Project Framework Description
FastMinimalAPI Demo .NET 10 Minimal API SmartEndpoints, OneOf, [Validate], DSL, [FluentValidate], EF Core, Scalar UI
FastMvcAPI Demo .NET 10 MVC API MVC controllers, ToActionResult(), [Validate], OneOf, CancellationToken, EF Core
Console Samples .NET 10 Console 16 examples β€” Result\<T>, Maybe\<T>, OneOf5/6, Validation DSL, Async patterns
Tutorial Lessons .NET 9 Console 9 progressive lessons β€” functional & railway-oriented programming from scratch
ResultFlow Sample .NET 9 Console [ResultFlow] pipeline diagram generator β€” 6 pipelines, all node kinds
Result.Flow Sample .NET 9 Console [ResultFlow] (REslava.Result-native) β€” 5 pipelines, type travel + typed error edges
ResultFlow + FluentResults .NET 9 Console [ResultFlow] with FluentResults β€” library-agnostic, type travel, zero config
# Web API (Minimal API + SmartEndpoints)
cd samples/FastMinimalAPI.REslava.Result.Demo && dotnet run
# β†’ http://localhost:5000/scalar/v1

# Web API (MVC)
cd samples/FastMvcAPI.REslava.Result.Demo && dotnet run
# β†’ http://localhost:5001/scalar/v1

# Console examples (16 patterns)
cd samples/REslava.Result.Samples.Console && dotnet run

# Tutorial series β€” start here if you're new to functional programming
cd samples/lessons/lesson-01 && dotnet run

# ResultFlow diagram generator (library-agnostic, uses REslava.Result)
cd samples/resultflow && dotnet run

# Result.Flow diagram generator (REslava.Result-native: type travel + typed errors)
cd samples/result-flow && dotnet run

# ResultFlow with FluentResults (library-agnostic demo, no REslava.Result dependency)
cd samples/resultflow-fluentresults && dotnet run