You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
null or ""=>("localhost",EndpointBindingMode.SingleAddress),// Default is localhost
1583
1583
varswhenstring.Equals(s,"localhost",StringComparison.OrdinalIgnoreCase)=>("localhost",EndpointBindingMode.SingleAddress),// Explicitly set to localhost
1584
+
varswhens.Length>10&&s.EndsWith(".localhost",StringComparison.OrdinalIgnoreCase)=>("localhost",EndpointBindingMode.SingleAddress),// Explicitly set to localhost when using .localhost subdomain
1584
1585
varswhenIPAddress.TryParse(s,outvaripAddress)=>ipAddressswitch// The host is an IP address
1585
1586
{
1586
1587
varipwhenIPAddress.Any.Equals(ip)=>("localhost",EndpointBindingMode.IPv4AnyAddresses),// 0.0.0.0 (IPv4 all addresses)
Debug.Assert(endpoint.AllocatedEndpointis not null,"Endpoint should be allocated at this point as we're calling this from ResourceEndpointsAllocatedEvent handler.");
0 commit comments