8 references to WithHostPort
Aspire.Hosting.PostgreSQL.Tests (6)
AddPostgresTests.cs (5)
378
builder.AddPostgres("mypostgres").WithPgAdmin(pga => pga.
WithHostPort
(8081));
445
builder.AddPostgres("mypostgres1").WithPgAdmin(pga => pga.
WithHostPort
(8081));
446
builder.AddPostgres("mypostgres2").WithPgAdmin(pga => pga.
WithHostPort
(8081));
456
var pg1 = builder.AddPostgres("mypostgres1").WithPgAdmin(pga => pga.
WithHostPort
(8081));
457
var pg2 = builder.AddPostgres("mypostgres2", username).WithPgAdmin(pga => pga.
WithHostPort
(8081));
PostgrePublicApiTests.cs (1)
182
var action = () => builder.
WithHostPort
(default(int?));
PostgresEndToEnd.AppHost (1)
Program.cs (1)
16
var pg6 = builder.AddPostgres("pg6").WithPgAdmin(c => c.
WithHostPort
(8999).WithImageTag("8.3")).PublishAsContainer();
WaitForSandbox.AppHost (1)
Program.cs (1)
12
c.
WithHostPort
(15551);