├── .gitignore ├── ErrorHandlingPart1 ├── NetFive │ ├── Controllers │ │ ├── ErrorsController.cs │ │ └── UsersController.cs │ ├── Errors │ │ ├── ServiceException.cs │ │ └── UserNotFoundException.cs │ ├── Models │ │ └── User.cs │ ├── NetFive.csproj │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Services │ │ ├── IUsersService.cs │ │ └── UsersService.cs │ ├── Startup.cs │ ├── appsettings.Development.json │ └── appsettings.json └── NetSix │ ├── Errors │ ├── ServiceException.cs │ └── UserNotFoundException.cs │ ├── Models │ └── User.cs │ ├── NetSix.csproj │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Services │ ├── IUsersService.cs │ └── UsersService.cs │ ├── appsettings.Development.json │ └── appsettings.json ├── ErrorHandlingPart2 └── NetFive │ ├── Controllers │ └── UsersController.cs │ ├── Errors │ └── MyCustomProblemDetailsFactory.cs │ ├── NetFive.csproj │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Startup.cs │ ├── appsettings.Development.json │ └── appsettings.json ├── ErrorHandlingPart3 ├── NetSix │ ├── Errors │ │ ├── ErrorPropertiesFactory │ │ │ ├── ErrorPropertiesFactory.cs │ │ │ └── IErrorPropertiesFactory.cs │ │ └── Exceptions │ │ │ ├── ServiceException.cs │ │ │ └── UserExistsException.cs │ ├── NetSix.csproj │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── appsettings.Development.json │ └── appsettings.json └── NetSixSingleFileExample │ ├── NetSix.csproj │ ├── Program.cs │ ├── appsettings.Development.json │ └── appsettings.json └── LICENSE /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/.gitignore -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetFive/Controllers/ErrorsController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetFive/Controllers/ErrorsController.cs -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetFive/Controllers/UsersController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetFive/Controllers/UsersController.cs -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetFive/Errors/ServiceException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetFive/Errors/ServiceException.cs -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetFive/Errors/UserNotFoundException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetFive/Errors/UserNotFoundException.cs -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetFive/Models/User.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetFive/Models/User.cs -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetFive/NetFive.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetFive/NetFive.csproj -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetFive/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetFive/Program.cs -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetFive/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetFive/Properties/launchSettings.json -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetFive/Services/IUsersService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetFive/Services/IUsersService.cs -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetFive/Services/UsersService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetFive/Services/UsersService.cs -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetFive/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetFive/Startup.cs -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetFive/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetFive/appsettings.Development.json -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetFive/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetFive/appsettings.json -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetSix/Errors/ServiceException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetSix/Errors/ServiceException.cs -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetSix/Errors/UserNotFoundException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetSix/Errors/UserNotFoundException.cs -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetSix/Models/User.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetSix/Models/User.cs -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetSix/NetSix.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetSix/NetSix.csproj -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetSix/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetSix/Program.cs -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetSix/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetSix/Properties/launchSettings.json -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetSix/Services/IUsersService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetSix/Services/IUsersService.cs -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetSix/Services/UsersService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetSix/Services/UsersService.cs -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetSix/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetSix/appsettings.Development.json -------------------------------------------------------------------------------- /ErrorHandlingPart1/NetSix/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart1/NetSix/appsettings.json -------------------------------------------------------------------------------- /ErrorHandlingPart2/NetFive/Controllers/UsersController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart2/NetFive/Controllers/UsersController.cs -------------------------------------------------------------------------------- /ErrorHandlingPart2/NetFive/Errors/MyCustomProblemDetailsFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart2/NetFive/Errors/MyCustomProblemDetailsFactory.cs -------------------------------------------------------------------------------- /ErrorHandlingPart2/NetFive/NetFive.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart2/NetFive/NetFive.csproj -------------------------------------------------------------------------------- /ErrorHandlingPart2/NetFive/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart2/NetFive/Program.cs -------------------------------------------------------------------------------- /ErrorHandlingPart2/NetFive/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart2/NetFive/Properties/launchSettings.json -------------------------------------------------------------------------------- /ErrorHandlingPart2/NetFive/Startup.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart2/NetFive/Startup.cs -------------------------------------------------------------------------------- /ErrorHandlingPart2/NetFive/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart2/NetFive/appsettings.Development.json -------------------------------------------------------------------------------- /ErrorHandlingPart2/NetFive/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart2/NetFive/appsettings.json -------------------------------------------------------------------------------- /ErrorHandlingPart3/NetSix/Errors/ErrorPropertiesFactory/ErrorPropertiesFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart3/NetSix/Errors/ErrorPropertiesFactory/ErrorPropertiesFactory.cs -------------------------------------------------------------------------------- /ErrorHandlingPart3/NetSix/Errors/ErrorPropertiesFactory/IErrorPropertiesFactory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart3/NetSix/Errors/ErrorPropertiesFactory/IErrorPropertiesFactory.cs -------------------------------------------------------------------------------- /ErrorHandlingPart3/NetSix/Errors/Exceptions/ServiceException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart3/NetSix/Errors/Exceptions/ServiceException.cs -------------------------------------------------------------------------------- /ErrorHandlingPart3/NetSix/Errors/Exceptions/UserExistsException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart3/NetSix/Errors/Exceptions/UserExistsException.cs -------------------------------------------------------------------------------- /ErrorHandlingPart3/NetSix/NetSix.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart3/NetSix/NetSix.csproj -------------------------------------------------------------------------------- /ErrorHandlingPart3/NetSix/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart3/NetSix/Program.cs -------------------------------------------------------------------------------- /ErrorHandlingPart3/NetSix/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart3/NetSix/Properties/launchSettings.json -------------------------------------------------------------------------------- /ErrorHandlingPart3/NetSix/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart3/NetSix/appsettings.Development.json -------------------------------------------------------------------------------- /ErrorHandlingPart3/NetSix/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart3/NetSix/appsettings.json -------------------------------------------------------------------------------- /ErrorHandlingPart3/NetSixSingleFileExample/NetSix.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart3/NetSixSingleFileExample/NetSix.csproj -------------------------------------------------------------------------------- /ErrorHandlingPart3/NetSixSingleFileExample/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart3/NetSixSingleFileExample/Program.cs -------------------------------------------------------------------------------- /ErrorHandlingPart3/NetSixSingleFileExample/appsettings.Development.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart3/NetSixSingleFileExample/appsettings.Development.json -------------------------------------------------------------------------------- /ErrorHandlingPart3/NetSixSingleFileExample/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/ErrorHandlingPart3/NetSixSingleFileExample/appsettings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amantinband/dotnet-web-api-global-error-handling/HEAD/LICENSE --------------------------------------------------------------------------------