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