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)
40public EndpointReferenceExpression Host => PrimaryEndpoint.Property(EndpointProperty.Host); 45public EndpointReferenceExpression Port => PrimaryEndpoint.Property(EndpointProperty.Port); 66builder.Append($"{PrimaryEndpoint.Property(EndpointProperty.HostAndPort)}");