Http Status codes and the ErrorController
I am working on a project with a growing API. Our responses are all JSON, and we started to handle errors in the API controllers instead of the ErrorController. To make it more easy I altered the ErrorController to also response in JSON and use the corresponding HTTP status and created a HttpStatusCode class for use wi ... Continue Reading