Blog posts

This page lists all my blog posts chronologically (newest first).

Using AuthorizeAttribute for modules in a multi-tenancy web platform

Jul 16, 2017 by Stefan Holm Olsen

Imagine that you are developing a web platform (maybe even a SaaS product) to support multiple customers. It could be built as a multi-tenancy application, that offers a basic subscription and a variety of optional add-ons. How could authorization of access to each add-on be easily implemented?

Migration from Subversion (SVN) to Git

Jul 09, 2017 by Stefan Holm Olsen

I once did a big migration of an old Subversion (SVN) repository to a new Git repository, migrating all of the version history. This post is about how to do that.

Cache busting with ASP.Net MVC

Jul 03, 2017 by Stefan Holm Olsen

Whenever a webpage have links to pre-compiled frontend files, we as developers can make the web browsers, as well as proxy servers, cache (save) the files for a very long time. But what happens when you make changes to one of those files on the server? How can we do both extremely long caching and invalidate the cache at any time?

How to replace session state in a scalable environment?

Jun 23, 2017 by Stefan Holm Olsen

In all the projects I have worked on for various clients, we had to load, cache and make use of a user's profile data in the application. How to do that in a very efficient and scalable way, is something I care for a lot. Here are my thoughts and ideas about that topic.