{"id":19101576,"url":"https://github.com/christianacca/ProblemDetailsDemo","last_synced_at":"2025-04-18T18:32:46.268Z","repository":{"id":47638640,"uuid":"158695510","full_name":"christianacca/ProblemDetailsDemo","owner":"christianacca","description":"Example ASP.Net Core Web API that conforms to the Problem Details spec","archived":false,"fork":false,"pushed_at":"2023-11-18T16:17:51.000Z","size":102,"stargazers_count":29,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-30T04:44:51.187Z","etag":null,"topics":["asp-net-core","sample-app"],"latest_commit_sha":null,"homepage":"https://problem-details-demo.azurewebsites.net","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/christianacca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-11-22T12:23:21.000Z","updated_at":"2024-03-13T10:49:20.000Z","dependencies_parsed_at":"2023-11-18T10:27:13.366Z","dependency_job_id":"c8b16f82-cd79-49ef-8c95-e3ada7caf9a9","html_url":"https://github.com/christianacca/ProblemDetailsDemo","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christianacca%2FProblemDetailsDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christianacca%2FProblemDetailsDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christianacca%2FProblemDetailsDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/christianacca%2FProblemDetailsDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/christianacca","download_url":"https://codeload.github.com/christianacca/ProblemDetailsDemo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223783095,"owners_count":17201908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asp-net-core","sample-app"],"created_at":"2024-11-09T03:53:21.482Z","updated_at":"2025-04-18T18:32:46.262Z","avatar_url":"https://github.com/christianacca.png","language":"C#","readme":"# ProblemDetailsDemo ![Build Status](https://github.com/christianacca/ProblemDetailsDemo/actions/workflows/azure-webapps-dotnet-core.yml/badge.svg)\n\n## Overview\n\nExample ASP.Net Core Web API that conforms to the [Problem Details spec](https://tools.ietf.org/html/rfc7807)\n\nUses [Hellang.Middleware.ProblemDetails](https://www.nuget.org/packages/Hellang.Middleware.ProblemDetails) to implement this spec.\n\nThe sample app includes a [Swagger UI](https://problem-details-demo.azurewebsites.net/swagger). Here you can find an explaination of each endpoint:\nhow an MVC action result or raw middleware response is converted to a ProblemDetails response.\n\n## Try examples online\n\n1. Browse to : \u003chttps://hellang-problemdetails-demo.azurewebsites.net\u003e\n2. Try out the various endpoints using the swagger UI\n\n## Try examples locally\n\n1. `cd src\\ProblemDetailsDemo.Api`\n2. `dotnet run` or `dotnet run --launch-profile ProblemDetailsDemo.Api.Production`\n3. Browse to: https://localhost:5001\n4. Try out the various endpoints using the swagger UI\n\n## Additional resources\n\n* blog post demonstrating nuget library see: \n  * \u003chttps://codeopinion.com/http-api-problem-details-in-asp-net-core/\u003e\n  * \u003chttps://andrewlock.net/handling-web-api-exceptions-with-problemdetails-middleware/\u003e\n* to enrich MS Application Insight request telementry with ProblemDetail data see: \u003chttps://github.com/christianacca/ApplicationInsights.ProblemDetails\u003e\n\n## Contributing\n\n* [Github deployments](https://github.com/christianacca/ProblemDetailsDemo/actions/workflows/azure-webapps-dotnet-core.yml)\n* [Azure app service](https://portal.azure.com/#@christianaccaazuregmail.onmicrosoft.com/resource/subscriptions/d3f2602d-6ce5-4152-b7ca-082d56b2bf78/resourceGroups/rg-hellang-problemdetails-demo/providers/Microsoft.Web/serverFarms/hellang-problemdetails-demo/webHostingPlan)\n  * Entra-ID tenant: 2de591fe-203b-42ed-9c29-15aaa387b978; christianacca.azure@gmail.com\n","funding_links":[],"categories":["others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristianacca%2FProblemDetailsDemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristianacca%2FProblemDetailsDemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristianacca%2FProblemDetailsDemo/lists"}