4 references to PrimaryEndpoint
Aspire.Hosting.Valkey (4)
ValkeyBuilderExtensions.cs (1)
216var port = resource.PrimaryEndpoint.TargetPort ?? throw new DistributedApplicationException("The Valkey REPL port is not available.");
ValkeyResource.cs (3)
43public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 48public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port); 69builder.Append($"{PrimaryEndpoint.Property(EndpointProperty.HostAndPort)}");