How to control authentication cookie lifetime, and why is sliding expiration potentially dangerous? This article contains an overview of this topic. It also shows the way to set absolute authentication cookie lifetime in ASP.NET Core.
Tag: ASP.NET Core
How to send a multipart HTTP requests containing files using
HttpClient in .NET Core? What to do if the target endpoint requires some additional data? This article describes the solutions for common cases and presents raw HTTP messages that are generated by the
HttpClient for multipart requests.
In this article, we will set up multi-tenant authentication. How is it supposed to work? When a user is logged in within
tenant1 then they will not be a valid user from the
tenant2 point of view. We will use cookie-based authentication for that.
A multitenancy is a way to handle multiple tenants on a common infrastructure. Depending on your case, tenants may share the application itself, database, or other services. In this series, we will create ASP.NET Core multi-tenant app. This article describes a tenant resolution mechanism.