Request Authorization in ASP.NET Web API

When you use ASP.NET Web API as a back-end for your JavaScript heavy Single Page Application (SPA), you might want to check who is performing requests, before you answer with a result. In my case, the different permissions are a bit bulky and I'm storing them in the user's…

What to Consider when running ASP.NET MVC 4 in Mono

I'm fighting for the last 2 days to deploy my ASP.NET MVC 4 application to a Linux VM running Mono again. - Again because it already worked, but in the meanwhile Microsoft updated the MVC 4 library and something broke (read more: Microsoft Asp.Net MVC Security Update MS14-059…

Always check the ModelState

Ever came across weird behavior in your ASP.NET Views? - I did already several times, and this is what I've learned: Always check the ModelState. Most of you probably remember to clear the ModelState when you modify _POST_ed values. But I had to find out, that HttpPost isn't…