/result-fluent

A service result class with fluent creation and validation

Primary LanguageC#MIT LicenseMIT

FluentResult

build spell check codeql analyze codecov License: MIT

Logo

FluentResult

Report Bug & Request Features

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact

About The Project

This is a lightweight .NET library, that can be used for returning and validating Result without relaying on exceptions.

Features

  • Simple Return model.
  • Allows attributes and model validation.
  • Allows easy mapping of models.
  • Provides a fluent syntax.
  • No external dependencies.

Getting Started

You can install ResultFluent with NuGet:

dotnet add package ResultFluent

Usage

Package Link
nuget nuget downloads ResultFluent Usage Guide
nuget nuget downloads ResultFluent.Mvc Usage Guide

Contributing

If you find a bug or have a feature request, please report them at this repository's issues section.

Anyone can submit a pull request and it will be considered.

Build

  • Clone or download the repo
  • restore to install dependencies
  • build to build

Folder Structure

  • FluentResult - The core Result package source files
  • FluentResult.Mvc - The Result.Mvc package source files
  • FluentResult.Tests - The shared unit tests files

License

Distributed under MIT License. See LICENSE for more information.

Contact

Rosen Kolev - rosen.kolev@hotmail.com