brokul.dev
  • Blog
  • Archive
  • Feed
  • About

Tag: ASP.NET Core

Authentication cookie lifetime and sliding expiration in ASP.NET Core

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.

31 October 2021

Sending files and additional data using HttpClient in .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.

22 July 2021

Multi-tenant ASP.NET Core app - configuring authentication

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.

17 February 2021

Multi-tenant ASP.NET Core app - tenant resolution

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.

08 February 2021
© brokul.dev 2022