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)
230if (_networkID != value.NetworkID) 232throw new InvalidOperationException($"The default AllocatedEndpoint's network ID must match the EndpointAnnotation network ID ('{_networkID}'). The attempted AllocatedEndpoint belongs to '{value.NetworkID}'."); 303if (endpoint.NetworkID != networkID)
Dcp\DcpExecutor.cs (1)
997sp.EndpointAnnotation.AllAllocatedEndpoints.AddOrUpdateAllocatedEndpoint(allocatedEndpoint.NetworkID, allocatedEndpoint);