Stephan van Rooij

Software architect with a passion for home automation.

Install wordpress server site

I

You can install wordpress by using FTP, but sometimes it’s much quicker to do it server site. Basic linux knowledge is needed!. First SSH into the server.

Cache-aside in dotnet core

C

A really nice way to improve performance in any web application is to using caching. This is also true for dotnet core. The Cache-aside pattern is a best described as. Let’s check the cache if we got the required result, if we got this item cached return that. If we don’t have it in cache, get it from the data store and save it for next time.

In dotnet core you can use both Microsoft.Extentions.Caching.Memory or some Distributed Cache. Choose either one because you’re going to use it down the line.

JWT: Part 3 – Sign your own

J

This is part of my JSON Web Token series. This time to show you how to create your own JWTs in dotnet core. Small note, creating your own token server isn’t something I would recommend! If you need your own token (identity/login/openid connect) server, have a look at Identity Server and the Identity server with Asp.net Identity quickstart.

JWT: Part 2 – In the wild

J

JSON Web Tokens are used everywhere. Microsoft uses them as access tokens for their entire Authentication platform and their Graph API. Google uses them in their applications both in the Login with Google system and in their apis.

My open-source projects

My github repositories, last edited first.

A dotnet tool for parsing rss feeds and modifying a markdown file
A Teams app showing all your assigned and provisioned apps (no production!)
HTML 0 0
:speaker: Sonos control library, use this library in your own appliction.
TypeScript 64 13
Publish data from your Smart meter with a P1 interface to you MQTT server.
TypeScript 27 6
Control Sonos from dotnet
🔊 📖 Sonos api documentation for the local UPNP api and a generator to generate clients based on service discovery
TypeScript 19 7
Sonos2mqtt companion for Home Assistant
Python 4 0
:speaker: Sonos mqtt controller. Control your speakers from your mqtt server. mqtt-smarthome insprired.
TypeScript 61 17
Demo speed increase with batching for the Microsoft Graph API
HTML 3 0
Some usefull PowerShell snippets collected
PowerShell 4 0