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