Articles

Groeien door fouten te maken
Soms krijg je bij een coachingsgesprek ineens een pareltje voorgeschoteld. Vorige week had ik een coachingsgesprek met een junior ontwikkelaar en het eerste dat ter sprake kwam was dat hij voor het eerst een fout had veroorzaakt op een productieomgeving. Waarop ik, zonder er over na te denken, meteen zei: “gefeliciteerd”. We hebben er even over doorgepraat en ik heb uitgelegd waarom ik hem feliciteerde. Uiteindelijk is dat het volgende verhaal geworden.

Een monoliet? Nee, dat hebben wij niet meer!
De monoliet wordt vaak gezien als een anti-pattern en er wordt veel aandacht besteed aan het opsplitsen van monolithische applicaties naar microservices. Meestal gaat het hier over de applicatie-monoliet, maar er andere varianten van de monoliet die, onterecht, minder aandacht krijgen. In dit artikel laat ik een aantal van deze varianten de revue passeren, toon hoe deze monolieten er uit zien en waarom ze meer aandacht verdienen.
Externe REST services aanroepen met Refit
Dit artikel werd eerder gepubliceerd in het SDN Magazine .
Je kunt je bijna geen applicatie meer voorstellen die geen gebruik maakt van externe gegevens. Vaak komt deze data uit REST Api’s1. Als developer kan het behoorlijk saai zijn om de zoveelste API te moeten ontsluiten maar gelukkig zijn er mogelijkheden om dit een stuk eenvoudiger te maken. Één van die opties is het gebruik van Refit2.
Diagrammen maken met Mermaid
Steeds weer kom ik Mermaid tegen als het gaat om het maken van diagrammen. Persoonlijk werk ik graag met (Plant)uml maar meestal moet ik diagrammen dan exporteren naar een afbeelding voordat ik het in de documentatie kan gebruiken.
Microsoft DevOps heeft ondertussen ondersteuning voor Mermaid , Github heeft nu ondersteuning voor Mermaid en aangezien dat twee platformen zijn die ik veelvuldig gebruik lijkt het me tijd om me eens te gaan verdiepen in Mermaid .

Chaos Engineering met Simmy & Polly
Dit artikel is eerder gepubliceerd op de website van Team Rockstars IT .
Grote, online services zoals Netflix en Amazon doen het al jaren: Chaos Engineering , het in productie testen van bottlenecks en single point of failures met behulp van chaos. Dit kan op veel verschillende manieren: van het fysiek lostrekken van kabels tot het inbrengen van random gedrag in de code.
Using multiple Git accounts
Using multiple Git accounts and different Git platforms can be a challenge. In this post I explain how to configure multiple accounts, use different SSH keys and even verify your account.
Using an Azure Web App to host multiple static html sites
There are a lot of static site generators around and I have been using quite a bunch of them. While I used most of them for this (personal) blog, I have also used some for professional purposes like documenting software and for team and company-wide documentation. Especially Sphinx has proven itself to be quite useful.
I want to create an environment with the following requirements:
- Hosting in an Azure Web App
- Protected by Azure Active Directory
- Every project has it’s own documentation (no merge conflicts between teams)
- Use Sphinx but using other generators is possible
In this post I will show how to create a documentation platform which implements the requirements above with only a few lines of code.
Using xUnit fixtures with SpecFlow
It can be a challenge to implement new frameworks or tools in your daily life. Often it takes time to find out the quirks and best practices which can take time and even lead to doubts and abandoning frameworks. I have been using SpecFlow for a while now and I keep finding new ways to tackle issues and get cleaner code behind the specs (I am still having trouble creating clean & clear functional requirements though).
One of the things I keep bumbing into is using settings and sharing code between different specs. In the following example I will explain my latest find: using xUnit fixtures to get test settings and reusable api clients for multiple tests.
Managing a .NET Service with Blazor, on Windows and Linux
My employee has developed an application which “scrapes” data from systems, processes it and sends it to a central database. This is a WinForms application with a few screens for configurations and inspections. I was looking into different approaches for a new version and dived into the options of using a Windows Service.
I forgot where the exact idea came from but at a certain point I thought: what if I can install Blazor as a UI for a Windows Service. I could configure, start and stop, basically do all kind of things with this service if I have a Blazor Interface. I read something about systemd services with .NET too, so I could even create a cross-platform version (not that there is any need for Linux, but just because I can).
Well, after a few hours, I got it working so, in this post I will show you how to create a cross-platform service that can be installed on Windows (Service) and Linux (systemd) and be managed with Blazor.
Specflow and Eventual Consistency
SpecFlow is a tool which can be used to describe test scenarios and automate the tests. Although I have been using SpecFlow for a while now I never used it for advanced examples where time might be an issue. Lets show a simple example scenario first. A scenario, written in Gherkin , looks like this: