Quantcast
Channel: The Reformed Programmer
Browsing index pages (108 articles)

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


Image may be NSFW.
Clik here to view.

How to update a NuGet library once the author isn’t available

I’m writing this article because I have an illness called dementia, which over time degrades a person’s ability to remember, think, and make decisions. This means at some point I won’t be able to...

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.

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

A pattern / library for methods that return a status, including localization

This article is about a pattern / library that allows you to create methods that can return a status, that is a success / fail value, plus the error messages – I call this “returning a status”. It...

View Article


Image may be NSFW.
Clik here to view.

Applying an improved multiple languages library to .NET applications

The last article covered why I added extra features to the .NET support of multiple languages  (known as localization in .NET) and via the Net.LocalizeMessagesAndErrors library (shortened to...

View Article

Image may be NSFW.
Clik here to view.

Improving the support of multiple languages in .NET applications

One of users of my AuthPermissions.AspNetCore library (shortened to AuthP in this article) asked for support for multiple languages – known in .NET as Localization. I looked at the .NET localization...

View Article

Image may be NSFW.
Clik here to view.

ASP.NET Core: Three ways to refresh the claims of a logged-in user

An ASP.NET Core application uses claims to hold the logged-in user’s authentication and authorization data. These claims are created on login and stored in a cookie or a JWT Token for quick access....

View Article


Image may be NSFW.
Clik here to view.

How to take an ASP.NET Core web site “Down for maintenance”

If you have an e-commerce or business web app used by lots of users, then you really don’t want that app to be “down” (e.g. “site offline” or “site not found”) because it’s bad for business. But at...

View Article


Image may be NSFW.
Clik here to view.

How to turn an ASP.NET Core appsettings.json file into a fast-read database

This article describes a way to create a database using ASP.NET Core appsettings.json configuration feature. The big benefit of this approach is the read is blistering fast, something like 1,000 times...

View Article

Image may be NSFW.
Clik here to view.

A .NET distributed cache with a ~25 nanosecond read time!

This article described a .NET distributed cache library called Net.DistributedFileStoreCache (referred to as FileStore cache in this article). The FileStore distributed cache library is very quick to...

View Article

Image may be NSFW.
Clik here to view.

Three ways to securely add new users to an application using the AuthP library

The AuthPermissions.AspNetCore library (shortened to AuthP in this article) provides various features that can help you building certain ASP.NET Core applications. The main features are better Roles...

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.

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.

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.

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 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.

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.

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

Updating your ASP.NET Core / EF Core application to NET 6

With the release of NET 6 I wanted to update the code in the repo called EfCoreinAction-SecondEdition which contains the code that goes with my book “Entity Framework Core in Action 2nd edition”. This...

View Article
Browsing index pages (108 articles)


Latest Images