70 references to WithHttpsEndpoint
Aspire.Hosting.Azure.Functions (2)
AzureFunctionsProjectResourceExtensions.cs (2)
257
.
WithHttpsEndpoint
(targetPort: 8080);
283
builder.
WithHttpsEndpoint
(port: port, targetPort: port, isProxied: port == null);
Aspire.Hosting.Azure.Tests (15)
AzureAppServiceTests.cs (5)
456
.
WithHttpsEndpoint
()
578
.
WithHttpsEndpoint
(targetPort:8000)
617
.
WithHttpsEndpoint
(targetPort: 8000)
652
.
WithHttpsEndpoint
(targetPort: 8000)
674
.
WithHttpsEndpoint
(targetPort: 8443) // explicit target port
AzureContainerAppsTests.cs (6)
295
.
WithHttpsEndpoint
()
373
.
WithHttpsEndpoint
()
954
.
WithHttpsEndpoint
();
1225
.
WithHttpsEndpoint
(port: 8081, targetPort: 8443);
2046
.
WithHttpsEndpoint
(targetPort: 1111)
2051
.
WithHttpsEndpoint
(targetPort: 1111)
AzureProvisioningResourceExtensionsTests.cs (1)
18
.
WithHttpsEndpoint
();
AzureWebPubSubExtensionsTests.cs (3)
117
var serviceA = builder.AddProject<ProjectA>("serviceA", o => o.ExcludeLaunchProfile = true).
WithHttpsEndpoint
();
148
var serviceA = builder.AddProject<ProjectA>("serviceA", o => o.ExcludeLaunchProfile = true).
WithHttpsEndpoint
();
174
var 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)
113
.
WithHttpsEndpoint
(targetPort: DefaultHttpsPort, env: "KC_HTTPS_PORT")
Aspire.Hosting.Kubernetes.Tests (1)
KubernetesPublisherTests.cs (1)
247
.
WithHttpsEndpoint
()
Aspire.Hosting.Tests (35)
ProjectResourceTests.cs (2)
365
.
WithHttpsEndpoint
(port: 5001, name: "https");
388
.
WithHttpsEndpoint
(port: 5001, name: "https")
ResourceWithProbeTests.cs (2)
16
resource.
WithHttpsEndpoint
();
49
resource.
WithHttpsEndpoint
(8080, 8080, endpointName);
WithEndpointTests.cs (18)
164
.
WithHttpsEndpoint
(3000, 1000, name: "mybinding")
165
.
WithHttpsEndpoint
(3000, 2000, name: "mybinding");
179
.
WithHttpsEndpoint
(3000, 1000)
180
.
WithHttpsEndpoint
(3000, 2000);
193
.
WithHttpsEndpoint
(1000, name: "mybinding")
194
.
WithHttpsEndpoint
(2000, name: "mybinding");
233
.
WithHttpsEndpoint
(name: "ep2")
307
.
WithHttpsEndpoint
(name: "h2", targetPort: 3001);
361
.
WithHttpsEndpoint
(name: "h4");
444
.
WithHttpsEndpoint
(name: "hps") // Won't get targetPort since it's the first https
445
.
WithHttpsEndpoint
(name: "hps2") // Will get a targetPort
508
.
WithHttpsEndpoint
()
509
.
WithHttpsEndpoint
(name: "hps1", port: 7001)
510
.
WithHttpsEndpoint
(name: "hps2", port: 7002, targetPort: 7003)
511
.
WithHttpsEndpoint
(name: "hps3", targetPort: 7004)
512
.
WithHttpsEndpoint
(name: "hps4", targetPort: 7005)
605
.
WithHttpsEndpoint
()
639
.
WithHttpsEndpoint
()
WithEnvironmentTests.cs (1)
46
.
WithHttpsEndpoint
(port: 1000, targetPort: 2000, "mybinding")
WithReferenceTests.cs (10)
22
.
WithHttpsEndpoint
(1000, 2000, "mybinding")
46
.
WithHttpsEndpoint
(1000, 2000, "mybinding")
66
.
WithHttpsEndpoint
(1000, 2000, "mybinding")
93
.
WithHttpsEndpoint
(1000, 2000, "mybinding")
139
.
WithHttpsEndpoint
(1000, 2000, "mybinding")
141
.
WithHttpsEndpoint
(1000, 3000, "myconflictingbinding")
167
.
WithHttpsEndpoint
(1000, 2000, "mybinding")
195
.
WithHttpsEndpoint
(1000, 2000, "mybinding")
197
.
WithHttpsEndpoint
(1000, 3000, "mybinding2")
225
.
WithHttpsEndpoint
(1000, 2000, "mybinding")
WithUrlsTests.cs (2)
188
.
WithHttpsEndpoint
();
808
project.
WithHttpsEndpoint
(name: "test");
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")