71 references to WithHttpsEndpoint
Aspire.Hosting.Azure.Functions (2)
AzureFunctionsProjectResourceExtensions.cs (2)
264.WithHttpsEndpoint(targetPort: 8080); 290builder.WithHttpsEndpoint(port: port, targetPort: port, isProxied: port == null);
Aspire.Hosting.Azure.Tests (15)
AzureAppServiceTests.cs (5)
380.WithHttpsEndpoint() 502.WithHttpsEndpoint(targetPort:8000) 541.WithHttpsEndpoint(targetPort: 8000) 576.WithHttpsEndpoint(targetPort: 8000) 598.WithHttpsEndpoint(targetPort: 8443) // explicit target port
AzureContainerAppsTests.cs (6)
294.WithHttpsEndpoint() 372.WithHttpsEndpoint() 953.WithHttpsEndpoint(); 1211.WithHttpsEndpoint(port: 8081); 1933.WithHttpsEndpoint(targetPort: 1111) 1938.WithHttpsEndpoint(targetPort: 1111)
AzureProvisioningResourceExtensionsTests.cs (1)
18.WithHttpsEndpoint();
AzureWebPubSubExtensionsTests.cs (3)
117var serviceA = builder.AddProject<ProjectA>("serviceA", o => o.ExcludeLaunchProfile = true).WithHttpsEndpoint(); 148var serviceA = builder.AddProject<ProjectA>("serviceA", o => o.ExcludeLaunchProfile = true).WithHttpsEndpoint(); 174var serviceA = builder.AddProject<ProjectA>("serviceA", o => o.ExcludeLaunchProfile = true).WithHttpsEndpoint();
Aspire.Hosting.DevTunnels.Tests (10)
DevTunnelResourceBuilderExtensionsTests.cs (10)
20.WithHttpsEndpoint(); 64.WithHttpsEndpoint(); 79.WithHttpsEndpoint(name: "https"); 96.WithHttpsEndpoint(name: "https"); 113.WithHttpsEndpoint(name: "https"); 131.WithHttpsEndpoint(name: "https"); 150.WithHttpsEndpoint(name: "https"); 152.WithHttpsEndpoint(name: "https"); 172.WithHttpsEndpoint(name: "https"); 191.WithHttpsEndpoint(name: "https");
Aspire.Hosting.Keycloak (1)
KeycloakResourceBuilderExtensions.cs (1)
131.WithHttpsEndpoint(targetPort: DefaultHttpsPort, env: "KC_HTTPS_PORT")
Aspire.Hosting.Kubernetes.Tests (1)
KubernetesPublisherTests.cs (1)
247.WithHttpsEndpoint()
Aspire.Hosting.Tests (35)
ProjectResourceTests.cs (2)
327.WithHttpsEndpoint(port: 5001, name: "https"); 350.WithHttpsEndpoint(port: 5001, name: "https")
ResourceWithProbeTests.cs (2)
15resource.WithHttpsEndpoint(); 48resource.WithHttpsEndpoint(8080, 8080, endpointName);
WithEndpointTests.cs (18)
163.WithHttpsEndpoint(3000, 1000, name: "mybinding") 164.WithHttpsEndpoint(3000, 2000, name: "mybinding"); 178.WithHttpsEndpoint(3000, 1000) 179.WithHttpsEndpoint(3000, 2000); 192.WithHttpsEndpoint(1000, name: "mybinding") 193.WithHttpsEndpoint(2000, name: "mybinding"); 232.WithHttpsEndpoint(name: "ep2") 306.WithHttpsEndpoint(name: "h2", targetPort: 3001); 360.WithHttpsEndpoint(name: "h4"); 443.WithHttpsEndpoint(name: "hps") // Won't get targetPort since it's the first https 444.WithHttpsEndpoint(name: "hps2") // Will get a targetPort 509.WithHttpsEndpoint() 510.WithHttpsEndpoint(name: "hps1", port: 7001) 511.WithHttpsEndpoint(name: "hps2", port: 7002, targetPort: 7003) 512.WithHttpsEndpoint(name: "hps3", targetPort: 7004) 513.WithHttpsEndpoint(name: "hps4", targetPort: 7005) 608.WithHttpsEndpoint() 642.WithHttpsEndpoint()
WithEnvironmentTests.cs (1)
45.WithHttpsEndpoint(port: 1000, targetPort: 2000, "mybinding")
WithReferenceTests.cs (10)
21.WithHttpsEndpoint(1000, 2000, "mybinding") 45.WithHttpsEndpoint(1000, 2000, "mybinding") 65.WithHttpsEndpoint(1000, 2000, "mybinding") 92.WithHttpsEndpoint(1000, 2000, "mybinding") 138.WithHttpsEndpoint(1000, 2000, "mybinding") 140.WithHttpsEndpoint(1000, 3000, "myconflictingbinding") 166.WithHttpsEndpoint(1000, 2000, "mybinding") 194.WithHttpsEndpoint(1000, 2000, "mybinding") 196.WithHttpsEndpoint(1000, 3000, "mybinding2") 224.WithHttpsEndpoint(1000, 2000, "mybinding")
WithUrlsTests.cs (2)
187.WithHttpsEndpoint(); 811project.WithHttpsEndpoint(name: "test");
Aspire.Hosting.Yarp (1)
YarpResourceExtensions.cs (1)
81.WithHttpsEndpoint(targetPort: HttpsPort)
Aspire.Hosting.Yarp.Tests (5)
YarpClusterTests.cs (5)
25.WithHttpsEndpoint(name: "anotherendpoint"); 43.WithHttpsEndpoint(); 68.WithHttpsEndpoint() 69.WithHttpsEndpoint(name: "grpc"); 81.WithHttpsEndpoint();
AspireWithNode.AppHost (1)
AppHost.cs (1)
30.WithHttpsEndpoint(env: "HTTPS_PORT")