Closed sammychinedu2ky closed 1 year ago
@sammychinedu2ky take a look at this comment
Can you run your sample? I get System.InvalidOperationException HResult=0x80131509 Message=Call UseKestrelHttpsConfiguration() on IWebHostBuilder to automatically enable HTTPS when an https:// address is used. Source=Microsoft.AspNetCore.Server.Kestrel.Core StackTrace: at Microsoft.AspNetCore.Server.Kestrel.Core.HttpsConfigurationService.EnsureInitialized(String uninitializedError) at
@sammychinedu2ky take a look at this comment
Can you run your sample? I get System.InvalidOperationException HResult=0x80131509 Message=Call UseKestrelHttpsConfiguration() on IWebHostBuilder to automatically enable HTTPS when an https:// address is used. Source=Microsoft.AspNetCore.Server.Kestrel.Core StackTrace: at Microsoft.AspNetCore.Server.Kestrel.Core.HttpsConfigurationService.EnsureInitialized(String uninitializedError) at
Yh I can run it
Fixes https://github.com/dotnet/AspNetCore.Docs/issues/30480#issuecomment-1754161747 @Rick-Anderson