1 write to PrimaryEndpoint
Aspire.Hosting.PostgreSQL (1)
PostgresServerResource.cs (1)
27
PrimaryEndpoint
= new(this, PrimaryEndpointName);
5 references to PrimaryEndpoint
Aspire.Hosting.PostgreSQL (4)
PostgresBuilderExtensions.cs (2)
180
if (postgresInstance.
PrimaryEndpoint
.IsAllocated)
182
var 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)
615
port = {postgresDatabase.Parent.
PrimaryEndpoint
.TargetPort}