Super thin reverse proxy with YARP and Refit

by Karl Solgård

Discovering technology that perfectly aligns with our needs is always exhilarating. YARP, a Microsoft creation, is one such gem, especially when it comes to managing requests through a proxy. This article delves into integrating YARP with Refit to create an efficient reverse proxy setup. What is a Reverse Proxy? Before…

Using NDepend to uncover code smells

by Karl Solgård

Code quality should be a high priority for a coder. NDepend is a tool that helps coders to sniff out the smells in their code. After a friendly chat with the NDepend's author, Patrick Smacchia, I got started using the tool on my projects. Installation on Linux The…

Secretless access to Azure services in AKS using Token Credentials and managed identity

by Karl Solgård

Phew, that's a mouthful! Working with AKS sometimes is. However, I can assure you that this approach to securing your applications in your Kubernetes cluster is worth it. The advantages to have a secretless solution are many: * No secrets are lost in the wild 🐅 The need to send…

Filtering an array for specific types with GROQ

by Magnus Sigvartsen

In Sanity, you can have arrays that contain different objects. But what if we want to filter out the specific types inside the array when we run a query? A problem I came across was how to map the different Sanity objects to .NET objects based on their type. Disclaimer:…

Watering herbs with Raspberry Pi - Smart irrigation system made with sensors and Azure IoT Central

by Karl Solgård

I saw an ad for self-watering plant pots a while ago - and I thought it looked pretty neat. As I looked at the hefty price of 4.000 NOK for the system, I thought to myself that it would be cheaper and more fun to make my own with…

How to work with lists in .NET dependency injection

by Karl Solgård

After posting a tweet about passing multiple interfaces into the .NET service container and resolving the services as an IEnumerable in the constructor, I thought it would be a good idea to write more about it in detail.…