Skip to content

Latest commit

 

History

History
16 lines (8 loc) · 696 Bytes

README.md

File metadata and controls

16 lines (8 loc) · 696 Bytes

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. 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