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