Skip to content

christianacca/ProblemDetailsDemo

Repository files navigation

ProblemDetailsDemo Build Status

Overview

Example ASP.Net Core Web API that conforms to the Problem Details spec

Uses Hellang.Middleware.ProblemDetails to implement this spec.

The sample app includes a Swagger UI. Here you can find an explaination of each endpoint: how an MVC action result or raw middleware response is converted to a ProblemDetails response.

Try examples online

  1. Browse to : https://hellang-problemdetails-demo.azurewebsites.net
  2. Try out the various endpoints using the swagger UI

Try examples locally

  1. cd src\ProblemDetailsDemo.Api
  2. dotnet run or dotnet run --launch-profile ProblemDetailsDemo.Api.Production
  3. Browse to: https://localhost:5001
  4. Try out the various endpoints using the swagger UI

Additional resources

Contributing

About

Example ASP.Net Core Web API that conforms to the Problem Details spec

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published