this post is featured

I Moved my blog to Github Pages

My short story about saving a couple of bucks a month and how I switched blogging platform. I’m starting a company together with my best friend, Jacob. I’m currently employed at Caspeco and for a while I will only work 60% while working on my startup 40% of normal working hours. As you understand, this puts my salary off by 40%. On top of this I doubled my rent expense due to my (now ex-)girlfriend moving out. So - long story short; my budget is quite low. I spend about $22 on Azure every month. Not much, but in my...…

If your IIS Express server just "stops working". Error Code 403.14 Forbidden

I’ve recently decided to update a webservice of mine. I added some business code and also added some startup code in global.asax. The work took a couple of hours and this was the first time in a month I touched the project. When I hit F5 to debug the browser just said HTTP Error 403.14 - Forbidden. Well - what is this? No Yellow Screen Of Death or anything, just a bad IIS response. …

Allow one concurrent request per IP for an action

We had a situation at work where we needed to throttle/limit file uploads so that the user only can upload one file simultaneously in our Web API. So I wrote this Action Filter that will throttle requests by IP and only allow one concurrent request for that action. At work we edited the script to throttle per user (from session), instead of IP. We use the filter for our Web Api endpoint, but it should work the same for an MVC action. Any feedback is greatly appreciated, here it is: …

Simple TypeScript AMD Example

I have been hard at work building a web application based on TypeScript. TypeScript is just a blessing, but it took me a while to get the AMD part just right. It is important to keep every class in its own file and exporting it later: Here is an example: If you are building an SPA application with TypeScript, the new RavenDB is great inspiration: Raven Studio HTML5 …

Really, Really great stockphotos

Heads up, this is a complete reblog! Go here for Original Source. Anywho, I came by these super great Stock photographs, or as the original title said: Stock photos that do not suck. Here is the list: http://littlevisuals.co/ http://unsplash.com/ http://join.deathtothestockphoto.com/ http://nos.twnsnd.co/ (old looking) http://superfamous.com/ (aerial photos) http://picjumbo.com/ http://thepatternlibrary.com/ (pattern library) http://www.gratisography.com/ http://getrefe.tumblr.com/ http://imcreator.com/free …