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…

TypeScript Development in Practice

I'm using TypeScript already since 2012 for rich client development on top of AngularJS. As the server was written in ASP.Net, we were using Visual Studio for Server and Client. I didn't have almost any experience in JavaScript, or Angular. So TypeScript's strong typing and the type definitions (.d.…

Ignore node_modules in Dropbox

Actually this problem isn't only about NodeJS development and the node_modules folders, but this is where it's the most pain. It's more about having any kind of way to download and generate a ton of files within seconds and afterwards waiting for hours, or even days for Dropbox to…

SQLiteException: no such table - in Android

I was just struggling for a while trying to help with an Android app. I have almost no specific Android experience, but as the app is pretty basic, I thought - can't be that hard. The beginning seemed pretty easy and straight forward, until we stumbled upon this exception: android.…

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…

Dynamic Controllers in AngularJS

I have an AngularJS application, which offers a set of different tasks. In order not to limit myself in the future, I have one main controller, and sub-controllers for each task. The correct sub-controller is selected based on the task's URL. However, how do you inject a dynamic controller into…

How to connect Mono in Linux to Oracle

Long post about all the steps I did can be found here: How I managed to connect from Mono in Linux to Oracle If you are using ServiceStack.OrmLite it is extremely easy in the end: Attention! This solution might bring problems with it if you need timezone aware TimeStamps…