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)
142AllAllocatedEndpoints.TryAdd(_networkId, AllocatedEndpointSnapshot); 341public NetworkIdentifier DefaultNetworkID => _networkId; 371if (_networkId != value.NetworkID) 373throw new InvalidOperationException($"The default AllocatedEndpoint's network ID must match the EndpointAnnotation network ID ('{_networkId}'). The attempted AllocatedEndpoint belongs to '{value.NetworkID}'.");