Karl-Henrik


The random ramblings of Karl-Henrik "KH" Nilsson


  1. Loosely coupled Asp.NET WebApi with TinyPubSub

    Building APIs can be tricky, what seemed like a straight forward easy project can three months down the road have turned into a change request ridden, feature creep hell hole. It’s not your fault, you didn’t know they also needed to update the legacy system every time someone placed an order and also tell Kim in accounting every time someone who had been a customer for more than ten years made a purchase. If your code is now filled with if/else and switch cases you may have fallen in a very common trap, your code were not loosely coupled. …


  2. Getting started with NodeMCU

    At the time I’m writing this I am at NDC Oslo were I did a few sessions on IoT. During one of the sessions I used a NodeMCU to demonstrate my points and when I also saw one of the exhibits handing them out I thought it could be a great time to share my getting started guide for NodeMCU. …