1 write to PrimaryEndpoint
Aspire.Hosting.PostgreSQL (1)
PostgresServerResource.cs (1)
27PrimaryEndpoint = new(this, PrimaryEndpointName);
5 references to PrimaryEndpoint
Aspire.Hosting.PostgreSQL (4)
PostgresBuilderExtensions.cs (2)
180if (postgresInstance.PrimaryEndpoint.IsAllocated) 182var endpoint = postgresInstance.PrimaryEndpoint;
PostgresServerResource.cs (2)
54$"Host={PrimaryEndpoint.Property(EndpointProperty.Host)};Port={PrimaryEndpoint.Property(EndpointProperty.Port)};Username={UserNameReference};Password={PasswordParameter}");
Aspire.Hosting.PostgreSQL.Tests (1)
AddPostgresTests.cs (1)
615port = {postgresDatabase.Parent.PrimaryEndpoint.TargetPort}