10 references to Service
Aspire.Hosting (10)
Dcp\DcpExecutor.cs (8)
722
.Where(sr => !sr.
Service
.HasCompleteAddress && sr.
Service
.Spec.AddressAllocationMode != AddressAllocationModes.Proxyless)
744
var srvResource = needAddressAllocated.FirstOrDefault(sr => sr.
Service
.Metadata.Name == updated.Metadata.Name);
753
srvResource.
Service
.ApplyAddressInfoFrom(updated);
767
var dcpSvc = await _kubernetesService.GetAsync<Service>(sar.
Service
.Metadata.Name, cancellationToken: cancellationToken).ConfigureAwait(false);
770
sar.
Service
.ApplyAddressInfoFrom(dcpSvc);
774
_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);
1623
var spAnn = new ServiceProducerAnnotation(sp.
Service
.Metadata.Name);
Dcp\ResourceSnapshotBuilder.cs (2)
243
var resourceServices = _resourceState.AppResources.OfType<ServiceAppResource>().Where(r => r.
Service
.AppModelResourceName == resource.AppModelResourceName).Select(s => s.
Service
).ToList();