- Loading...
Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.

Access services inside ConfigureServices using IConfigureOptions in ASP.NET Core
This post shows how you can inject services when configuring IOptions implementations in your Startup class using the IConfigureOptions interface.…

Exploring the cookie authentication middleware in ASP.NET Core
In this post I go into detail about how AuthenticationMiddleware is implemented in ASP.NET Core, using the CookieAuthenticationMiddleware as a case study.…

Introduction to Authentication with ASP.NET Core
This is the first in a series of posts on authentication and authorisation. In this post, I talk about claims-based authentication works in ASP.NET Core.…

Forking the pipeline - adding tenant-specific files with SaasKit in ASP.NET Core
In this post I show how we can fork the ASP.NET Core middleware pipeline to allow serving tenant-specific files using SaasKit and some custom Middleware.…

Loading tenants from the database with SaasKit - Part 2, Caching
I previously showed how to load tenants from a database using Saaskit. In this post I show how to avoid hitting the database with every request…

Loading tenants from the database with SaasKit in ASP.NET Core
In this post I'll show how to add multi-tenancy to an ASP.NET Core application using the open source SaasKit, and store tenant mappings in a database.…

