73 references to WithHttpEndpoint
Aspire.Hosting.Azure.Tests (14)
AzureBicepProvisionerTests.cs (1)
36.WithHttpEndpoint()
AzureContainerAppsTests.cs (13)
227.WithHttpEndpoint(); 489.WithHttpEndpoint() 491.WithHttpEndpoint(name: "internal") 861.WithHttpEndpoint(targetPort: 1111) 1374.WithHttpEndpoint() 1472.WithHttpEndpoint(name: "one", targetPort: 8080) 1473.WithHttpEndpoint(name: "two", targetPort: 8081); 1576.WithHttpEndpoint() 1675.WithHttpEndpoint() 1831.WithHttpEndpoint(name: "ep1") 1832.WithHttpEndpoint(name: "ep2") 1871.WithHttpEndpoint(targetPort: 80) 1891.WithHttpEndpoint(port: 8081);
Aspire.Hosting.Containers.Tests (11)
ContainerResourceTests.cs (1)
107.WithHttpEndpoint(3000);
WithDockerfileTests.cs (10)
32.WithHttpEndpoint(targetPort: 80) 64.WithHttpEndpoint(targetPort: 80) 97.WithHttpEndpoint(targetPort: 80) 131.WithHttpEndpoint(targetPort: 80); 168.WithHttpEndpoint(targetPort: 80) 216.WithHttpEndpoint(targetPort: 80) 263.WithHttpEndpoint(targetPort: 80) 309.WithHttpEndpoint(targetPort: 80) 352.WithHttpEndpoint(targetPort: 80) 423.WithHttpEndpoint(targetPort: 80)
Aspire.Hosting.Elasticsearch (1)
ElasticsearchBuilderExtensions.cs (1)
85.WithHttpEndpoint(targetPort: ElasticsearchPort, port: port, name: ElasticsearchResource.PrimaryEndpointName)
Aspire.Hosting.Milvus (1)
MilvusBuilderExtensions.cs (1)
56.WithHttpEndpoint(port: grpcPort, targetPort: MilvusPortGrpc, name: MilvusServerResource.PrimaryEndpointName)
Aspire.Hosting.NodeJs.Tests (4)
AddNodeAppTests.cs (2)
18.WithHttpEndpoint(port: 5031, env: "PORT"); 47.WithHttpEndpoint(port: 5032, env: "PORT");
NodeAppFixture.cs (2)
37.WithHttpEndpoint(port: 5031, env: "PORT"); 40.WithHttpEndpoint(port: 5032, env: "PORT");
Aspire.Hosting.Qdrant (2)
QdrantBuilderExtensions.cs (2)
73.WithHttpEndpoint(port: grpcPort, targetPort: QdrantPortGrpc, name: QdrantServerResource.PrimaryEndpointName) 78.WithHttpEndpoint(port: httpPort, targetPort: QdrantPortHttp, name: QdrantServerResource.HttpEndpointName)
Aspire.Hosting.RabbitMQ (1)
RabbitMQBuilderExtensions.cs (1)
187builder.WithHttpEndpoint(port: port, targetPort: 15672, name: RabbitMQServerResource.ManagementEndpointName);
Aspire.Hosting.Tests (36)
Dashboard\DashboardResourceTests.cs (2)
293builder.AddContainer("my-container", "my-image").WithHttpEndpoint(port: 8080, targetPort: 58080); 336builder.AddContainer("my-container", "my-image").WithHttpEndpoint(port: 8080, targetPort: 58080);
Dcp\ApplicationExecutorTests.cs (2)
654.WithHttpEndpoint(name: "hp1", port: 5001) 655.WithHttpEndpoint(name: "dontinjectme", port: 5002)
DistributedApplicationTests.cs (2)
349.WithHttpEndpoint(name: "http0", env: "PORT0"); 355.WithHttpEndpoint(port: 5031, env: "PORT");
HealthCheckTests.cs (1)
75.WithHttpEndpoint(targetPort: 80)
KestrelConfigTests.cs (8)
21builder.WithHttpEndpoint(5017, name: "ExplicitHttp"); 57builder.WithHttpEndpoint(5017, name: "ExplicitHttp"); 138builder.WithHttpEndpoint(5017, name: "ExplicitProxiedHttp"); 139builder.WithHttpEndpoint(5018, name: "ExplicitNoProxyHttp", isProxied: false); 217builder.WithHttpEndpoint(5017, name: "ExplicitProxiedHttp"); 218builder.WithHttpEndpoint(5018, name: "ExplicitNoProxyHttp", isProxied: false); 284builder.WithHttpEndpoint(5017, name: "ExplicitProxiedHttp") 285.WithHttpEndpoint(5018, name: "ExplicitNoProxyHttp", isProxied: false)
ProjectResourceTests.cs (4)
307.WithHttpEndpoint(port: 5000, name: "http") 330.WithHttpEndpoint(port: 5000, name: "http") 332.WithHttpEndpoint(port: 5002, name: "http2", env: "SOME_ENV") 333.WithHttpEndpoint(port: 5003, name: "dontinjectme")
WithEndpointTests.cs (13)
206.WithHttpEndpoint(targetPort: 3001, name: "mybinding", env: "PORT"); 250.WithHttpEndpoint(name: "ep1") 298.WithHttpEndpoint(name: "h1", targetPort: 3001); 352.WithHttpEndpoint(name: "h3"); 406.WithHttpEndpoint(name: "otlp", port: 1004); 460.WithHttpEndpoint(name: "hp") // Won't get targetPort since it's the first http 461.WithHttpEndpoint(name: "hp2") // Will get a targetPort 522.WithHttpEndpoint() 523.WithHttpEndpoint(name: "hp1", port: 5001) 524.WithHttpEndpoint(name: "hp2", port: 5002, targetPort: 5003) 525.WithHttpEndpoint(name: "hp3", targetPort: 5004) 526.WithHttpEndpoint(name: "hp4") 527.WithHttpEndpoint(name: "dontinjectme")
WithEnvironmentTests.cs (2)
183.WithHttpEndpoint(name: "primary", targetPort: 10005) 219.WithHttpEndpoint(name: "primary")
WithReferenceTests.cs (2)
69.WithHttpEndpoint(1000, 3000, "mynonconflictingbinding") 114.WithHttpEndpoint(1000, 3000, "mybinding2")
ProxylessEndToEnd.AppHost (1)
Program.cs (1)
20.WithHttpEndpoint(port: 13456)
Stress.AppHost (2)
Program.cs (2)
42serviceBuilder.WithHttpEndpoint(5180, name: $"http"); 46serviceBuilder.WithHttpEndpoint(port, name: $"http-{port}");