diff --git a/src/Aspire.Hosting/Dashboard/DashboardServiceHost.cs b/src/Aspire.Hosting/Dashboard/DashboardServiceHost.cs index 9626817c5c..296df1a6e5 100644 --- a/src/Aspire.Hosting/Dashboard/DashboardServiceHost.cs +++ b/src/Aspire.Hosting/Dashboard/DashboardServiceHost.cs @@ -66,7 +66,10 @@ public DashboardServiceHost( try { - var builder = WebApplication.CreateBuilder(); + var builder = WebApplication.CreateSlimBuilder(); + + // Turn on HTTPS + builder.WebHost.UseKestrelHttpsConfiguration(); // Environment builder.Services.AddSingleton();