1 write to PrimaryEndpoint
Aspire.Hosting.PostgreSQL (1)
PostgresServerResource.cs (1)
24
PrimaryEndpoint
= new(this, PrimaryEndpointName);
8 references to PrimaryEndpoint
Aspire.Hosting.Azure.PostgreSQL (1)
AzurePostgresFlexibleServerResource.cs (1)
83
ReferenceExpression.Create($"{InnerResource.
PrimaryEndpoint
.Property(EndpointProperty.HostAndPort)}") :
Aspire.Hosting.PostgreSQL (6)
PostgresBuilderExtensions.cs (2)
518
port = {postgresDatabase.Parent.
PrimaryEndpoint
.TargetPort}
547
var endpoint = postgresInstance.
PrimaryEndpoint
;
PostgresServerResource.cs (4)
57
$"Host={
PrimaryEndpoint
.Property(EndpointProperty.Host)};Port={
PrimaryEndpoint
.Property(EndpointProperty.Port)};Username={UserNameReference};Password={PasswordParameter}");
108
public EndpointReferenceExpression Host =>
PrimaryEndpoint
.Property(EndpointProperty.Host);
113
public EndpointReferenceExpression Port =>
PrimaryEndpoint
.Property(EndpointProperty.Port);
Aspire.Hosting.PostgreSQL.Tests (1)
AddPostgresTests.cs (1)
635
port = {postgresDatabase.Parent.
PrimaryEndpoint
.TargetPort}