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