TenantHost Class
The one spelling a host name is compared in.
public static class TenantHostInheritance System.Object → TenantHost
Remarks
A request can name one host several ways - with a trailing dot, in Unicode or in its ASCII form, in any case - and a tenant compared as written would be missed by all but one of them.
Methods
TenantHost.Normalize(string) Method
host in ASCII, in lower case, without a trailing dot; an IP address in its canonical form, an IPv6 one in brackets as a Host header carries it.
public static string Normalize(string host);Parameters
host System.String
Returns
Remarks
A name that is not a valid internationalized host comes back only lowered and trimmed. It arrives in a request's Host header, where it is the caller's to write, and no issuer's host can equal it.