10 references to Service
Aspire.Hosting (10)
Dcp\DcpExecutor.cs (8)
636
.Where(sr => !sr.
Service
.HasCompleteAddress && sr.
Service
.Spec.AddressAllocationMode != AddressAllocationModes.Proxyless)
658
var srvResource = needAddressAllocated.FirstOrDefault(sr => sr.
Service
.Metadata.Name == updated.Metadata.Name);
667
srvResource.
Service
.ApplyAddressInfoFrom(updated);
681
var dcpSvc = await _kubernetesService.GetAsync<Service>(sar.
Service
.Metadata.Name, cancellationToken: cancellationToken).ConfigureAwait(false);
684
sar.
Service
.ApplyAddressInfoFrom(dcpSvc);
688
_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);
1423
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();