ASP.NET Integration
Plug REslava.Result into your web stack – Minimal API, MVC, and everything in between.
-
SmartEndpoints Zero‑boilerplate Minimal API generation — routes, HTTP verbs, OpenAPI, auth, filters, caching.
-
OneOf to IResult Convert
OneOf<T1,...>to HTTP responses in one call — status codes from error types. -
Minimal API
Result.ToIResult(), HTTP method variants (ToPostResult,ToPutResult,ToDeleteResult). -
MVC — Result
Result.ToActionResult()– convention‑based MVC controllers. -
MVC — OneOf
OneOf.ToActionResult()– multi-case MVC responses. -
Smart HTTP Mapping Automatic HTTP status code selection from error types.
-
Problem Details RFC 7807 compliant error responses via
[MapToProblemDetails]. -
HTTP Client Wrap
HttpClientcalls so every response and network failure becomes a typedResult<T>.