Table of Contents

Class HostTenantResolverOptions

Namespace
Compendium.Multitenancy
Assembly
Compendium.Multitenancy.dll

Configuration options for host-based tenant resolution.

public sealed class HostTenantResolverOptions
Inheritance
HostTenantResolverOptions
Inherited Members

Properties

UseSubdomain

Gets or initializes a value indicating whether to extract tenant identifier from subdomain. When true, extracts the first part of the hostname (e.g., "tenant" from "tenant.example.com"). When false, uses the full hostname as tenant identifier. Default is true.

public bool UseSubdomain { get; init; }

Property Value

bool