My new book ASP.NET Core in Action, Second Edition is available now! It supports .NET 5.0, and is available as an eBook or paperback. You even get a free copy of the first edition of ASP.NET Core in Action!
In this post I go into detail about how AuthenticationMiddleware is implemented in ASP.NET Core, using the CookieAuthenticationMiddleware as a case study.…
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.…
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.…
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…
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.…
In this post I describe how to add PostgreSQL and EF Core to your app, how to build a model, and run migrations to create your database.…
Stay up to the date with the latest posts!