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
1589
1589
varswhenstring.Equals(s,"localhost",StringComparison.OrdinalIgnoreCase)=>("localhost",EndpointBindingMode.SingleAddress),// Explicitly set to localhost
1590
+
varswhens.Length>10&&s.EndsWith(".localhost",StringComparison.OrdinalIgnoreCase)=>("localhost",EndpointBindingMode.SingleAddress),// Explicitly set to localhost when using .localhost subdomain
1590
1591
varswhenIPAddress.TryParse(s,outvaripAddress)=>ipAddressswitch// The host is an IP address
1591
1592
{
1592
1593
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