Quantcast
Channel: Entity Framework – The Reformed Programmer
Browsing all 76 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

New features for unit testing your Entity Framework Core 5 code

This article is about unit testing applications that use Entity Framework Core (EF Core), with the focus on the new approaches you can use in EF Core 5. I start out with an overview of the different...

View Article


Image may be NSFW.
Clik here to view.

How to update a database’s schema without using EF Core’s migrate feature

This article is aimed at developers that want to use EF Core to access the database but want complete control over their database schema. I decided to write this article after seeing the EF Core...

View Article


Image may be NSFW.
Clik here to view.

My experience of using modular monolith and DDD architectures

This article is about my experience of using a Modular Monolith architecture and Domain-Driven Design (DDD) approach on a small, but complex application using ASP.NET Core and EF Core. This isn’t a...

View Article

Image may be NSFW.
Clik here to view.

My experience of using the Clean Code architecture with a Modular Monolith

In this article I look at my use of a Clean Code architecture with the modular monolith architecture covered in the first article. Like the first article this isn’t primer on Clean Code and modular...

View Article

Image may be NSFW.
Clik here to view.

Five levels of performance tuning for an EF Core query

This is a companion article to the EF Core Community Standup called “Performance tuning an EF Core app” where I apply a series of performance enhancements to a demo ASP.NET Core e-commerce book...

View Article


Image may be NSFW.
Clik here to view.

Using PostgreSQL in development: Part 1 – Installing PostgreSQL on Windows

I started work on a library that uses a PostgreSQL, which means I need a PostgreSQL database to test it against. The best solution is to run a PostgreSQL server on my Windows development PC as that...

View Article

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 all 76 articles
Browse latest View live


Latest Images