“Is One Of” and “Is Not One Of” validation attributes
“Is One Of” and “Is Not One Of” validation attributes
.NET Core / C#

“Is One Of” and “Is Not One Of” validation attributes

I love attribute validation! They can be used for a myriad of things. In .NET Core MVC we use them to validate models that come into our controllers. In one of our projects we kept running into the same thing: we need to validate a value against an array of pre-defined values. So we wrote some base validation attributes.

Visual Studio Code + Docker + Python using WSL in Windows on Boot Camp
Visual Studio Code + Docker + Python using WSL in Windows on Boot Camp
Automation, Boot Camp, Docker, Python, WSL

Visual Studio Code + Docker + Python using WSL in Windows on Boot Camp

I imagine your first thought is: why? Well, at Wehkamp we do a lot of cross platform development, but sometimes we end up with shell scripts that do stuff with Docker and Python. Usually that’s not a problem for Mac, but for Windows it’s a different thing. I have a MacBook Pro, but I’m a .NET developer, that’s why I prefer Windows, so I run Bootcamp. This article will show how to do Python development in the Windows Subsystem for Linux (WSL) using Visual Studio Code and Docker.

Docker on Synology: from git to running container; the easy way
Docker on Synology: from git to running container; the easy way
Automation, CI/CD, Docker, Synology

Docker on Synology: from git to running container; the easy way

My Synology disk crashed and so did my Docker set up. Basically, the CI/CD pipeline for my programs no longer existed. The wonderful thing of an awful crash like this, is that I could rethink my setup. The result is what I would call “a poor man’s CI/CD”. It’s just Git, Docker, Docker Compose and Cron. It is easy to set up and it might be all you need.