diff --git a/src/Aspire.Hosting/Dashboard/DashboardServiceHost.cs b/src/Aspire.Hosting/Dashboard/DashboardServiceHost.cs index 48f609b247..262605a95f 100644 --- a/src/Aspire.Hosting/Dashboard/DashboardServiceHost.cs +++ b/src/Aspire.Hosting/Dashboard/DashboardServiceHost.cs @@ -67,7 +67,10 @@ public DashboardServiceHost( try { - var builder = WebApplication.CreateBuilder(); + var builder = WebApplication.CreateSlimBuilder(); + + // Turn on HTTPS + builder.WebHost.UseKestrelHttpsConfiguration(); // Configuration builder.Services.AddSingleton(configuration);