10 references to Service
Aspire.Hosting (10)
Dcp\DcpExecutor.cs (8)
700
.Where(sr => !sr.
Service
.HasCompleteAddress && sr.
Service
.Spec.AddressAllocationMode != AddressAllocationModes.Proxyless)
722
var srvResource = needAddressAllocated.FirstOrDefault(sr => sr.
Service
.Metadata.Name == updated.Metadata.Name);
731
srvResource.
Service
.ApplyAddressInfoFrom(updated);
745
var dcpSvc = await _kubernetesService.GetAsync<Service>(sar.
Service
.Metadata.Name, cancellationToken: cancellationToken).ConfigureAwait(false);
748
sar.
Service
.ApplyAddressInfoFrom(dcpSvc);
752
_distributedApplicationLogger.LogWarning("Unable to allocate a network port for service '{ServiceName}'; service may be unreachable and its clients may not work properly.", sar.
Service
.Metadata.Name);
1523
var spAnn = new ServiceProducerAnnotation(sp.
Service
.Metadata.Name);
Dcp\ResourceSnapshotBuilder.cs (2)
203
var resourceServices = _resourceState.AppResources.OfType<ServiceAppResource>().Where(r => r.
Service
.AppModelResourceName == resource.AppModelResourceName).Select(s => s.
Service
).ToList();