├── .config └── dotnet-tools.json ├── .github └── workflows │ └── azure-webapps-dotnet-core.yml ├── .gitignore ├── LICENSE ├── ProblemDetailsDemo.sln ├── ProblemDetailsDemo.sln.DotSettings ├── README.md └── src └── ProblemDetailsDemo.Api ├── Controllers ├── ApiMiddlewareController.cs ├── ApiMvcController.cs ├── BadController.cs └── HomeController.cs ├── ExampleMiddleware └── MaybeBadMiddleware.cs ├── Models ├── AccountInputModel.cs ├── ErrorViewModel.cs └── OutOfCreditProblemDetails.cs ├── MvcCustomizations ├── ApiConventionBase.cs ├── ApiConventions.cs ├── ApplicationBuilderExts.cs ├── NotFoundResultApiConvention.cs └── NotFoundResultAttribute.cs ├── ProblemDetailsDemo.Api.csproj ├── Program.cs ├── Properties ├── launchSettings.json ├── serviceDependencies.json └── serviceDependencies.local.json ├── Views ├── Bad │ └── Index.cshtml ├── Home │ └── Index.cshtml ├── Shared │ ├── Error.cshtml │ └── _Layout.cshtml ├── _ViewImports.cshtml └── _ViewStart.cshtml ├── appsettings.Development.json ├── appsettings.json ├── libman.json └── wwwroot ├── css └── site.css └── favicon.ico /.config/dotnet-tools.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/.config/dotnet-tools.json -------------------------------------------------------------------------------- /.github/workflows/azure-webapps-dotnet-core.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/.github/workflows/azure-webapps-dotnet-core.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/LICENSE -------------------------------------------------------------------------------- /ProblemDetailsDemo.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/ProblemDetailsDemo.sln -------------------------------------------------------------------------------- /ProblemDetailsDemo.sln.DotSettings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/ProblemDetailsDemo.sln.DotSettings -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/README.md -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/Controllers/ApiMiddlewareController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/Controllers/ApiMiddlewareController.cs -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/Controllers/ApiMvcController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/Controllers/ApiMvcController.cs -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/Controllers/BadController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/Controllers/BadController.cs -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/Controllers/HomeController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/Controllers/HomeController.cs -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/ExampleMiddleware/MaybeBadMiddleware.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/ExampleMiddleware/MaybeBadMiddleware.cs -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/Models/AccountInputModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/Models/AccountInputModel.cs -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/Models/ErrorViewModel.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/Models/ErrorViewModel.cs -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/Models/OutOfCreditProblemDetails.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/Models/OutOfCreditProblemDetails.cs -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/MvcCustomizations/ApiConventionBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/MvcCustomizations/ApiConventionBase.cs -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/MvcCustomizations/ApiConventions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/MvcCustomizations/ApiConventions.cs -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/MvcCustomizations/ApplicationBuilderExts.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/MvcCustomizations/ApplicationBuilderExts.cs -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/MvcCustomizations/NotFoundResultApiConvention.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/MvcCustomizations/NotFoundResultApiConvention.cs -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/MvcCustomizations/NotFoundResultAttribute.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/MvcCustomizations/NotFoundResultAttribute.cs -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/ProblemDetailsDemo.Api.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/ProblemDetailsDemo.Api.csproj -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/Program.cs -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/Properties/launchSettings.json -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/Properties/serviceDependencies.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/Properties/serviceDependencies.json -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/Properties/serviceDependencies.local.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/Properties/serviceDependencies.local.json -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/Views/Bad/Index.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/Views/Bad/Index.cshtml -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/Views/Home/Index.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/Views/Home/Index.cshtml -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/Views/Shared/Error.cshtml -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/Views/Shared/_Layout.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/Views/Shared/_Layout.cshtml -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/Views/_ViewImports.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/Views/_ViewImports.cshtml -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/Views/_ViewStart.cshtml -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/appsettings.Development.json -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/appsettings.json -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/libman.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/libman.json -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/wwwroot/css/site.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/wwwroot/css/site.css -------------------------------------------------------------------------------- /src/ProblemDetailsDemo.Api/wwwroot/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/christianacca/ProblemDetailsDemo/HEAD/src/ProblemDetailsDemo.Api/wwwroot/favicon.ico --------------------------------------------------------------------------------