Stephan van Rooij

Software Architect – Dotnet developer – Trainer – Speaker

S

Latest stories

Smart energy meter

S

A lot of people in the Netherlands have a smartenergy meter. They send the total usage to the power network provider on a regular interval. But is also has a port that can be used to monitor the usage yourself, and this can be really interesting. Hardware needed A P1 cable to read the data, I’m using this one.A Raspberry Pi (or similar) deviceSD card with some OS for your pi Software You...

Quickly connect to Exchange online powershell

Q

Microsoft is making it really easy to manage your Exchange Online environment from every device. You’ll need an active Azure subscription and be an Exchange Online admin though.Step 1: Open the online shell and pick powershell.Step 2: Typ Connect-EXOPSSession and press enterStep 3: Wait a little bit for it to connectStep 4: Use all the supported commands. Connect-EXOPSSession This magic...

Professioneel online presenteren

P

Iedereen is steeds meer online aan het communiceren op dit moment, dat is heel begrijpelijk in de huidige situatie. Hier zal ik in het kort proberen uit te leggen hoe je redelijk eenvoudig een professionele presentatie kan geven. Normaal webcam beeldIets professioneler? Benodigdheden Wat je nodig hebt hangt een beetje af van hoe ver je wil gaan met de presentatie kwaliteit, dus laat ik beginnen...

Sonos goodness

S

I’m a big fan of the sonos devices, but I’m not a big fan of the Sonos app (mac/windows/android/ios), it just isn’t that good. At least the following points should be fixed before I would consider changing my mind: Android/iOS -> Alarm settings are hidden to far in the application. (two clicks, a long scroll and another click).Slowly startup, they do device discovery even though...

Developing a typescript library

D

I’ve been building node libraries for home automation purposes for a while now, see my repositories. I decided that it was time to try out the strong-type goodness you get when using Typescript. Node-sonos (a library to control your sonos device, from you guessed it, node) was a good candidate. I’m one of the main contributors at this point. In the last two months I spend a lot of...

Interesting dotnet blogs

I

Andrew Lock – Dependency injection, dotnet core, amazon.Scott Hanselman – dotnet core stuff, diy hacksScott Brady – Identity server, security in generalDamien Bod – mainly Dotnet security/indentityRick Strahl’s Web log – Angular and dotnet coreSteve Gordon – HttpClient, new dotnet core features.Brock Allen – Identity managementVisual studio geeks...

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. Create a database and database user Connect to mysql with mysql -u root -p and specify the root password. You’re now in the mysql prompt (with mysql > infront).Create a database CREATE DATABASE new_database_name; (replace the...

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...

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.

Recent posts

Tags