1 write to _networkId
Aspire.Hosting (1)
ApplicationModel\EndpointAnnotation.cs (1)
140
_networkId
= networkId ?? KnownNetworkIdentifiers.LocalhostNetwork;
4 references to _networkId
Aspire.Hosting (4)
ApplicationModel\EndpointAnnotation.cs (4)
142
AllAllocatedEndpoints.TryAdd(
_networkId
, AllocatedEndpointSnapshot);
341
public NetworkIdentifier DefaultNetworkID =>
_networkId
;
371
if (
_networkId
!= value.NetworkID)
373
throw new InvalidOperationException($"The default AllocatedEndpoint's network ID must match the EndpointAnnotation network ID ('{
_networkId
}'). The attempted AllocatedEndpoint belongs to '{value.NetworkID}'.");