Docs
Tenantry CoreAPI reference

HostTenantResolverOptions class

Namespace: Tenantry.AspNetCore · Package: Tenantry.AspNetCore · API reference

Options for HostTenantResolver, set with tenant.ResolveFromHost(o => …).

public sealed class HostTenantResolverOptions

Properties

ExcludedDomains

Domains whose hosts are not tenants: a host that is one of them, or a subdomain of one, resolves nothing. Contains localhost by default. Add your own domain, such as example.com, whose subdomains ResolveFromSubdomain resolves.

public ISet<string> ExcludedDomains { get; }

Value: ISet<string>

On this page