Blog

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.

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. Use existing tokens or generate own? If you start with a new application you should decide if you want to invest in setting up your own token server or use an existing...

JWT: Part 1 – Introduction

J

What exactly is a Json Web Token? I like to describe them as an easy way to digitally sign some json data about a user, that can then be used as an access token for some kind of api. Check out JSON Web Token on wikepedia for an exact description.I really like JWTs because they are verifiable without an additional call to some identity server. They are short-lived by default (at least should be)...

Generate X509Certificate2 in C#

G

Sometimes you just need a X509Certificate2 in your C# code. For authenticating to an external webservice for instance.
This will show you how to create such a certificate right from your C# code. By the way you’ll need the Bouncy castle or Bouncy castle core library
This page is created with the help of this page

XS4All glasvezel met eigen router

X

Standaard krijg je bij XS4All glasvezel tegenwoordig een Fritz!Box 5490. Dit is een consumenten router met een rechtstreekse glasvezel aansluiting. Vanuit XS4All gezien een slimme keuze, want dat scheelt een kastje in de meterkast dat ook kapot kan gaan. Maar er zijn ook andere mogelijkheden, met een beetje technische kennis en wat extra apparatuur is het ook mogelijk om gewoon je oude router te...

Angular2 CLI with ASP.NET Core

A

If you’re creating a new Angular2 application, you definitely want to use the Angular2 CLI. It help you setup a new Angular application.¬†It has a build-in development server and it will generate¬†Components for you. This means less typing (isn’t that always better?).

Recent posts

Tags