The fastlane to css hipster heaven

So there is a cool feature in HTML5 and it’s called contenteditable. It’s a attribute you can place on any element in your page and it will allow your users to change the text inside. This can be useful for a lot of things, but what is even more interesting is the silly things you can do with it. …

The next chapter: Looking back

The future will in one way or another always become the present. Question is - will you chase it? I’m writing this blog post on board the commuter train between Stockholm and Uppsala. After five years at Caspeco, I now take the next step in my journey. For the next 1½ year, I will attend the Digital Data Strategist program at Hyper Island. I started working for Caspeco as a teenager. I was 19 years old and a junior developer when I wrote my first line of code at Caspeco. My experience with programming were limited to HTML, CSS, some...…

Owin Friendly Exceptions from Web Api

The team at Caspeco needed a way to translate exceptions to nice HTTP responses. The exceptions could be thrown by a custom middleware, within the Web Api framework or in our bussiness logic. So we built a thin Owin Middleware to translate all exceptions into nice HTTP responses that makes sense when you read them in the client consuming your api. The result is available as the nuget package OwinFriendlyExceptions and the source is available at Github: abergs/OwinFriendlyExceptions …

Fast css3 animations without stuttering

I was tasked with a very simple task. Moving a ball from the left edge of the screen to the right edge. That’s a simple task, and have been possible for ages using for example jQuery animations. However, the ball had to move smoothly over the screen and back in 0.5 seconds. …