Quantcast
Channel: Entity Framework – The Reformed Programmer
Browsing latest articles
Browse All 76 View Live

Image may be NSFW.
Clik here to view.

How to safely apply an EF Core migrate on ASP.NET Core startup

There are many ways to migrate a database using EF Core, and one of the most automatic approaches is to call EF Core’s MigrateAsync method on startup of your ASP.NET Core application – that way you...

View Article


Image may be NSFW.
Clik here to view.

Building ASP.NET Core and EF Core multi-tenant apps – Part1: the database

Multi-tenant applications are everywhere – your online banking is one example and GitHub is another. They consist of one set of code that is used by every user, but each user’s data is private to that...

View Article


Image may be NSFW.
Clik here to view.

Building ASP.NET Core and EF Core multi-tenant apps – Part2: Administration

In Part 1 of this series, you learnt how to set up the multi-tenant application database so that each tenant had its own set of data, which is private to them. This article explores the administration...

View Article

Image may be NSFW.
Clik here to view.

Multi-tenant apps with different versions can increase your profits

This article explores ways you can make each tenant in your multi-tenant applications have different features – for instance, Visual Studio has three versions: Community, Pro, and Enterprise. This is...

View Article

Image may be NSFW.
Clik here to view.

Building ASP.NET Core and EF Core hierarchical multi-tenant apps

This article looks at a specific type of multi-tenant where a tenant can have a sub-tenant. For instance, a large company called XYZ with different businesses could have a top-level tenant called XYZ,...

View Article


Image may be NSFW.
Clik here to view.

Advanced techniques around ASP.NET Core Users and their claims

This article describes some advanced techniques around adding or updating claims of users when building ASP.NET Core applications. These advanced techniques are listed below with examples taken from...

View Article

Image may be NSFW.
Clik here to view.

Part6: Using sharding to build multi-tenant apps using ASP.NET Core and EF Core

This article describes how to use EF Core and ASP.NET Core to create a multi-tenant application where each different groups (known as tenants) has its own database – this is known as sharding. A...

View Article

Image may be NSFW.
Clik here to view.

Using custom databases with the AuthP library – Part1: normal apps

The AuthPermissions.AspNetCore library, referred to as AuthP library, provides enhanced Roles authentication and multi-tenant services to an .NET application. The AuthP library needs to store...

View Article


Image may be NSFW.
Clik here to view.

The (long) journey to a better sharding multi-tenant application

This article focuses on the sharding approach of building a .NET multi-tenant application using the AuthPermissions.AspNetCore library (shortened to AuthP). After working exclusively on a...

View Article


Image may be NSFW.
Clik here to view.

A detailed look at EF Core’s JSON Columns feature

Some developers used EF Core JSON Columns in their DbContext when using my EfCore.SchemaCompare library, then they had a problem. That’s because I hadn’t added support for JSON Columns to my...

View Article
Browsing latest articles
Browse All 76 View Live