150 references to WithHttpsEndpoint
Aspire.Hosting (2)
ResourceBuilderExtensions.cs (2)
1528
return builder.WithWellKnownEndpointCallback(callback, name ?? "https", createIfNotExists, static (resourceBuilder, endpointName) => resourceBuilder.
WithHttpsEndpoint
(name: endpointName));
1847
return
WithHttpsEndpoint
(builder, port, targetPort, name, env, (bool?)isProxied);
Aspire.Hosting.Azure.Functions (2)
AzureFunctionsProjectResourceExtensions.cs (2)
264
.
WithHttpsEndpoint
(targetPort: 8080);
290
builder.
WithHttpsEndpoint
(port: port, targetPort: port, isProxied: port == null);
Aspire.Hosting.Azure.Tests (26)
AzureAppServiceTests.cs (6)
777
.
WithHttpsEndpoint
()
899
.
WithHttpsEndpoint
(targetPort:8000)
935
.
WithHttpsEndpoint
(targetPort: 8000)
976
.
WithHttpsEndpoint
(targetPort: 8000)
1011
.
WithHttpsEndpoint
(targetPort: 8000)
1034
.
WithHttpsEndpoint
(targetPort: 8443) // explicit target port
AzureContainerAppsTests.cs (6)
349
.
WithHttpsEndpoint
()
427
.
WithHttpsEndpoint
()
1050
.
WithHttpsEndpoint
();
1340
.
WithHttpsEndpoint
(port: 8081, targetPort: 8443);
2642
.
WithHttpsEndpoint
(targetPort: 1111)
2647
.
WithHttpsEndpoint
(targetPort: 1111)
AzureFrontDoorTests.cs (10)
33
.
WithHttpsEndpoint
();
48
.
WithHttpsEndpoint
();
50
.
WithHttpsEndpoint
();
68
.
WithHttpsEndpoint
()
95
.
WithHttpsEndpoint
()
98
.
WithHttpsEndpoint
()
170
.
WithHttpsEndpoint
()
194
.
WithHttpsEndpoint
()
219
.
WithHttpsEndpoint
()
241
.
WithHttpsEndpoint
()
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.Blazor (2)
BlazorGatewayExtensions.cs (2)
42
.
WithHttpsEndpoint
();
119
.
WithHttpsEndpoint
();
Aspire.Hosting.Blazor.Tests (59)
BlazorHostedExtensionsTests.cs (20)
25
.
WithHttpsEndpoint
()
46
.
WithHttpsEndpoint
()
67
.
WithHttpsEndpoint
()
85
.
WithHttpsEndpoint
()
107
.
WithHttpsEndpoint
()
136
.
WithHttpsEndpoint
()
165
.
WithHttpsEndpoint
()
204
.
WithHttpsEndpoint
()
232
.
WithHttpsEndpoint
()
271
.
WithHttpsEndpoint
()
290
.
WithHttpsEndpoint
()
310
.
WithHttpsEndpoint
()
334
.
WithHttpsEndpoint
()
354
.
WithHttpsEndpoint
()
384
.
WithHttpsEndpoint
()
407
.
WithHttpsEndpoint
()
427
.
WithHttpsEndpoint
()
446
.
WithHttpsEndpoint
()
464
.
WithHttpsEndpoint
();
485
.
WithHttpsEndpoint
();
GatewayConfigurationBuilderTests.cs (19)
17
.
WithHttpsEndpoint
();
40
.
WithHttpsEndpoint
();
60
.
WithHttpsEndpoint
();
85
.
WithHttpsEndpoint
();
114
.
WithHttpsEndpoint
();
135
.
WithHttpsEndpoint
();
157
.
WithHttpsEndpoint
();
186
.
WithHttpsEndpoint
();
209
.
WithHttpsEndpoint
();
241
.
WithHttpsEndpoint
();
262
.
WithHttpsEndpoint
();
288
.
WithHttpsEndpoint
();
312
.
WithHttpsEndpoint
();
335
.
WithHttpsEndpoint
();
360
.
WithHttpsEndpoint
();
387
.
WithHttpsEndpoint
();
450
.
WithHttpsEndpoint
();
479
.
WithHttpsEndpoint
();
527
.
WithHttpsEndpoint
();
WithBlazorAppTests.cs (20)
22
.
WithHttpsEndpoint
();
41
.
WithHttpsEndpoint
();
64
.
WithHttpsEndpoint
();
89
.
WithHttpsEndpoint
();
115
.
WithHttpsEndpoint
()
144
.
WithHttpsEndpoint
()
167
.
WithHttpsEndpoint
();
185
.
WithHttpsEndpoint
();
224
.
WithHttpsEndpoint
();
245
.
WithHttpsEndpoint
();
284
.
WithHttpsEndpoint
();
311
.
WithHttpsEndpoint
();
342
.
WithHttpsEndpoint
()
366
.
WithHttpsEndpoint
();
384
.
WithHttpsEndpoint
();
388
.
WithHttpsEndpoint
();
412
.
WithHttpsEndpoint
(name: "internal");
416
.
WithHttpsEndpoint
();
452
.
WithHttpsEndpoint
(name: "admin")
457
.
WithHttpsEndpoint
();
Aspire.Hosting.DevTunnels.Tests (10)
DevTunnelResourceBuilderExtensionsTests.cs (10)
27
.
WithHttpsEndpoint
();
93
.
WithHttpsEndpoint
();
281
.
WithHttpsEndpoint
(name: "https");
298
.
WithHttpsEndpoint
(name: "https");
315
.
WithHttpsEndpoint
(name: "https");
333
.
WithHttpsEndpoint
(name: "https");
352
.
WithHttpsEndpoint
(name: "https");
354
.
WithHttpsEndpoint
(name: "https");
374
.
WithHttpsEndpoint
(name: "https");
393
.
WithHttpsEndpoint
(name: "https");
Aspire.Hosting.Kubernetes.Tests (1)
KubernetesPublisherTests.cs (1)
325
.
WithHttpsEndpoint
()
Aspire.Hosting.Tests (41)
ProjectResourceBuilderExtensionTests.cs (2)
151
.
WithHttpsEndpoint
()
178
.
WithHttpsEndpoint
()
ProjectResourceTests.cs (3)
385
.
WithHttpsEndpoint
(port: 5001, name: "https");
408
.
WithHttpsEndpoint
(port: 5001, name: "https")
452
.
WithHttpsEndpoint
(port: 5001, name: "https")
ResourceWithProbeTests.cs (2)
16
resource.
WithHttpsEndpoint
();
49
resource.
WithHttpsEndpoint
(8080, 8080, endpointName);
WithEndpointTests.cs (21)
359
.
WithHttpsEndpoint
(3000, 1000, name: "mybinding")
360
.
WithHttpsEndpoint
(3000, 2000, name: "mybinding");
374
.
WithHttpsEndpoint
(3000, 1000)
375
.
WithHttpsEndpoint
(3000, 2000);
388
.
WithHttpsEndpoint
(1000, name: "mybinding")
389
.
WithHttpsEndpoint
(2000, name: "mybinding");
429
.
WithHttpsEndpoint
(name: "ep2")
503
.
WithHttpsEndpoint
(name: "h2", targetPort: 3001);
557
.
WithHttpsEndpoint
(name: "h4");
640
.
WithHttpsEndpoint
(name: "hps") // Won't get targetPort since it's the first https
641
.
WithHttpsEndpoint
(name: "hps2") // Will get a targetPort
704
.
WithHttpsEndpoint
()
705
.
WithHttpsEndpoint
(name: "hps1", port: 7001)
706
.
WithHttpsEndpoint
(name: "hps2", port: 7002, targetPort: 7003)
707
.
WithHttpsEndpoint
(name: "hps3", targetPort: 7004)
708
.
WithHttpsEndpoint
(name: "hps4", targetPort: 7005)
801
.
WithHttpsEndpoint
()
835
.
WithHttpsEndpoint
()
929
.
WithHttpsEndpoint
()
930
.
WithHttpsEndpoint
(port: 5001);
1036
.
WithHttpsEndpoint
(name: "api", port: 8443);
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
();
802
project.
WithHttpsEndpoint
(name: "test");
Aspire.Hosting.Yarp.Tests (5)
YarpClusterTests.cs (5)
28
.
WithHttpsEndpoint
(name: "anotherendpoint");
46
.
WithHttpsEndpoint
();
86
.
WithHttpsEndpoint
()
87
.
WithHttpsEndpoint
(name: "grpc");
111
.
WithHttpsEndpoint
();
AspireWithNode.AppHost (1)
AppHost.cs (1)
34
.
WithHttpsEndpoint
(env: "HTTPS_PORT")
BlazorStandalone.AppHost (1)
AppHost.cs (1)
8
.
WithHttpsEndpoint
(name: "api");