{"id":19654161,"url":"https://github.com/aimenux/exceptionhandlingmiddlewaredemo","last_synced_at":"2025-07-04T13:35:40.353Z","repository":{"id":116560202,"uuid":"465098794","full_name":"aimenux/ExceptionHandlingMiddlewareDemo","owner":"aimenux","description":"Using exception middleware to global handle errors","archived":false,"fork":false,"pushed_at":"2024-06-05T11:08:54.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-10T00:24:33.881Z","etag":null,"topics":["exception-handling","global-error-handling","middleware","net80","webapi"],"latest_commit_sha":null,"homepage":"","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/aimenux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-02T00:14:19.000Z","updated_at":"2024-06-05T11:08:58.000Z","dependencies_parsed_at":"2023-07-08T16:00:40.674Z","dependency_job_id":null,"html_url":"https://github.com/aimenux/ExceptionHandlingMiddlewareDemo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimenux%2FExceptionHandlingMiddlewareDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimenux%2FExceptionHandlingMiddlewareDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimenux%2FExceptionHandlingMiddlewareDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aimenux%2FExceptionHandlingMiddlewareDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aimenux","download_url":"https://codeload.github.com/aimenux/ExceptionHandlingMiddlewareDemo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240962705,"owners_count":19885519,"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":["exception-handling","global-error-handling","middleware","net80","webapi"],"created_at":"2024-11-11T15:16:29.822Z","updated_at":"2025-02-27T01:46:23.374Z","avatar_url":"https://github.com/aimenux.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![.NET](https://github.com/aimenux/ExceptionHandlingMiddlewareDemo/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/aimenux/ExceptionHandlingMiddlewareDemo/actions/workflows/ci.yml)\n\n# ExceptionHandlingMiddlewareDemo\n```\nUsing exception middleware to global handle errors\n```\n\nIn this demo, i m using an exception middleware in order to handle errors in the whole application.\n\nExceptions are thrown by :\n\u003e\n- Infrastructure : see `Proxy` (which simulate an external instable web service)\n\u003e\n- Domain : see `CompanyService` (which simulate some dummy eligibility rules)\n\nExceptions are catched by the exception middleware and formatted using [problem details specification](https://datatracker.ietf.org/doc/html/rfc7807)\n\n**`Tools`** : net 8.0, xunit","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimenux%2Fexceptionhandlingmiddlewaredemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faimenux%2Fexceptionhandlingmiddlewaredemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faimenux%2Fexceptionhandlingmiddlewaredemo/lists"}