CCustom Status Code for JSON using MVC on Azure
Recently I was tinkering with a MVC side project hosted on Azure and I ran into a curious scenario where my custom JSON errors were not returning properly. When appending a custom status code for JSON using MVC on Azure I was receiving responses in plain text/html when this exact solution worked…