A while ago, the HTMX team published an approach to improve locality of behavior and cohesion in server side rendered views. This post describes how this can be implemented using ASP.NET Core Razor views.
For B2B SaaS it's quite common to have subdomains per tenant. There are several ways to implement this and by accident I stumpled upon a fairly simple solution using nginx and Docker.