Rewrite rules in ASP.NET core middleware

Hans Arne Vartdal

If you, like me, came from the ASP.NET MVC world when you started with SPAs and Angular, you have probably at some point created a "one controller, one view MCV application", hosting the starting point of your Angular application. We could question how sensible that is, but either way,…

The shocking effect of beards, seen through the Microsoft Cognitive Services

Hans Arne Vartdal

This is a semi-scientific research project based on a cool technical solution. Clearly the best way to do research. It all started when my colleague Tom Einar showed me a simple demo of the Emotion API, a part of Microsoft Cognitive Services (previously the Oxford Project). Instantly I found the…

Hooking up ASP.NET Core 1.0 RC1 web api with Auth0 bearer tokens

Hans Arne Vartdal

Even though you don't see security and bleeding edge release candidates in the same sentence every day, you need to secure your API's. I have been using Auth0 as my identity provider for a recent project, and they have AMAZING documentation that include everything you need, including complete code examples…

Debugging WebSocket communication made easy

Hans Arne Vartdal

As we all know, any cool web application have some sort of WebSocket communication, either it is based on signalR, socket.io, or some other extremely cool technology. Developing these solutions make developers feel like wizards, as perfectly demonstrated in this clip from The Big Bang Theory. That is, when…

Improve rendering performance with CSS3 enabled hardware acceleration

Hans Arne Vartdal

Web apps are more often than before used on mobile devices, and thus their performance compared to native apps. Some believe that web apps, or hybrid apps, never can have as fast and fluid graphical interfaces as native apps. Luckily there are some nifty tricks out there to help us…