6 references to UseHttps
Aspire.Hosting.Native.Core.Tests (1)
TestServices\DcpReadyTestHost.cs (1)
53
options.Listen(IPAddress.Loopback, 0, listen => listen.
UseHttps
(certificate)));
Aspire.Hosting.Tests (1)
Dcp\KubernetesServiceTests.cs (1)
2494
endpoint.
UseHttps
(certificate);
Microsoft.AspNetCore.Server.Kestrel.Core (2)
ListenOptionsHttpsExtensions.cs (2)
43
return listenOptions.
UseHttps
(new X509Certificate2(Path.Combine(env.ContentRootPath, fileName)));
57
return listenOptions.
UseHttps
(new X509Certificate2(Path.Combine(env.ContentRootPath, fileName), password));
Microsoft.AspNetCore.Testing (1)
ServiceFakesWebHostExtensions.cs (1)
55
_ = listenOptions.
UseHttps
(sslCertificate);
Microsoft.DotNet.HotReload.Watch (1)
src\sdk\src\Dotnet.Watch\AspireService\AspireServerService.cs (1)
217
listenOptions.
UseHttps
(_certificate);