An open API service indexing awesome lists of open source software.

https://github.com/davidelettieri/apiwithrop

Sample solution using ROP in ASP.NET Core
https://github.com/davidelettieri/apiwithrop

csharp railway-oriented-programming

Last synced: 9 days ago
JSON representation

Sample solution using ROP in ASP.NET Core

Awesome Lists containing this project

README

          

# ApiWithROP

Example solution to show how to use ROP with ASP.NET Core. The approach is opinionated, I find it useful but it may not be for you or your use case.

## Installing the ROP nuget package

In order to install the ROP nuget package, published here on github, I followed [this](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry#authenticating-with-a-personal-access-token). The file nuget.config.sample is mostly complete, it needs the username to be changed and a token with access "read" to the nuget packages.

## Trasforming a Result to an object result

### Using http status code 403

### The Errors class

## Swagger