1 write to NetworkID
Aspire.Hosting (1)
ApplicationModel\AllocatedEndpoint.cs (1)
66NetworkID = networkId ?? endpoint.DefaultNetworkID;
4 references to NetworkID
Aspire.Hosting (4)
ApplicationModel\EndpointAnnotation.cs (3)
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}'."); 444if (endpoint.NetworkID != networkId)
Dcp\DcpModelUtilities.cs (1)
243sp.EndpointAnnotation.AllAllocatedEndpoints.AddOrUpdateAllocatedEndpoint(allocatedEndpoint.NetworkID, allocatedEndpoint);