1 write to _networkID
Aspire.Hosting (1)
ApplicationModel\EndpointAnnotation.cs (1)
103
_networkID
= networkID ?? KnownNetworkIdentifiers.LocalhostNetwork;
4 references to _networkID
Aspire.Hosting (4)
ApplicationModel\EndpointAnnotation.cs (4)
105
AllAllocatedEndpoints.TryAdd(
_networkID
, AllocatedEndpointSnapshot);
200
public NetworkIdentifier DefaultNetworkID =>
_networkID
;
230
if (
_networkID
!= value.NetworkID)
232
throw new InvalidOperationException($"The default AllocatedEndpoint's network ID must match the EndpointAnnotation network ID ('{
_networkID
}'). The attempted AllocatedEndpoint belongs to '{value.NetworkID}'.");