<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>SQL on Erwin Staal</title>
    <link>https://staal-it.nl/tags/sql/</link>
    <description>Recent content in SQL on Erwin Staal</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>KVK: Staal IT, 56920202 - Copyright © 2025</copyright>
    <lastBuildDate>Thu, 17 Dec 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://staal-it.nl/tags/sql/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Entity Framework Core and Migrations</title>
      <link>https://staal-it.nl/posts/db-per-tenant-catalog-database-ef-core-migrations/</link>
      <pubDate>Thu, 17 Dec 2020 00:00:00 +0000</pubDate>
      
      <guid>https://staal-it.nl/posts/db-per-tenant-catalog-database-ef-core-migrations/</guid>
      <description>Entity Framework could be a logical choice when building a .NET Core API that needs to talk to a database. In this blog, I&amp;rsquo;ll show you how to get started with EF and Migrations. We will create the models, the DbContext, and the migrations needed to upgrade your database when introducing changes. We will also see how we can deploy those changes in your Azure DevOps pipeline on each release.</description>
    </item>
    
    <item>
      <title>Database per tenant infrastructure</title>
      <link>https://staal-it.nl/posts/db-per-tenant-catalog-database-infrastructure/</link>
      <pubDate>Wed, 25 Nov 2020 00:00:00 +0000</pubDate>
      
      <guid>https://staal-it.nl/posts/db-per-tenant-catalog-database-infrastructure/</guid>
      <description>In the first post in this series, we&amp;rsquo;re going to talk about the infrastructure. We need some database server to host each tenant&amp;rsquo;s database and the shared database that contains information on all the tenants (like which database belongs to whom). We also need infrastructure to host the API on and off course, need something for configuration and secret management.
TL;DR: All templates and the pipeline can be found in my repository.</description>
    </item>
    
    <item>
      <title>Multi tenant app with database-per-tenant</title>
      <link>https://staal-it.nl/posts/database-per-tenant-series/</link>
      <pubDate>Sun, 15 Nov 2020 00:00:00 +0000</pubDate>
      
      <guid>https://staal-it.nl/posts/database-per-tenant-series/</guid>
      <description>I recently started building an architecture for a multi-tenant app to support a database per tenant (customer) scenario for one of my customers. Splitting your data in multiple databases like that has a few benefits like easy backup and restore per customer, better security by separation of data, and potential performance benefits. Especially the separation of data was a hard requirement here. I found this to be a nice challenge as it involves many moving parts to get it right.</description>
    </item>
    
  </channel>
</rss>
