alecrim7k
alecrim7k
CC#
Created by alecrim7k on 8/18/2024 in #help
✅ WebApi template doesn't run on https from the terminal but runs from VS Code's debug and run
Once again, much appreciated
32 replies
CC#
Created by alecrim7k on 8/18/2024 in #help
✅ WebApi template doesn't run on https from the terminal but runs from VS Code's debug and run
Mistery solved, so it seems.
32 replies
CC#
Created by alecrim7k on 8/18/2024 in #help
✅ WebApi template doesn't run on https from the terminal but runs from VS Code's debug and run
I ran this command again:
dotnet linux-dev-certs install
Some operations require root. You may be prompted for your 'sudo' password.
Creating CA certificate.
Installing CA certificate.
Removing existing development certificates.
Creating development certificate.
Installing development certificate.
The development certificate was successfully installed.
ASP.NET Core applications may still print a warning at startup that the developer certificate is not trusted.
This is a false warning. The message is no longer printed with ASP.NET Core 9 preview 6+.
dotnet linux-dev-certs install
Some operations require root. You may be prompted for your 'sudo' password.
Creating CA certificate.
Installing CA certificate.
Removing existing development certificates.
Creating development certificate.
Installing development certificate.
The development certificate was successfully installed.
ASP.NET Core applications may still print a warning at startup that the developer certificate is not trusted.
This is a false warning. The message is no longer printed with ASP.NET Core 9 preview 6+.
Apparently it's a false warning
32 replies
CC#
Created by alecrim7k on 8/18/2024 in #help
✅ WebApi template doesn't run on https from the terminal but runs from VS Code's debug and run
I know, I'm just showing that it doesn't produce the expected output
32 replies
CC#
Created by alecrim7k on 8/18/2024 in #help
✅ WebApi template doesn't run on https from the terminal but runs from VS Code's debug and run
It doesn't show the ASP.NET Core message even though I followed all the instructions
32 replies
CC#
Created by alecrim7k on 8/18/2024 in #help
✅ WebApi template doesn't run on https from the terminal but runs from VS Code's debug and run
My dotnet --info .NET SDK: Version: 8.0.108 Commit: 665a05cea7 Workload version: 8.0.100-manifests.109ff937 Runtime Environment: OS Name: pop OS Version: 22.04 OS Platform: Linux RID: ubuntu.22.04-x64 Base Path: /usr/lib/dotnet/sdk/8.0.108/ .NET workloads installed: Workload version: 8.0.100-manifests.109ff937 There are no installed workloads to display. Host: Version: 8.0.8 Architecture: x64 Commit: 08338fcaa5 .NET SDKs installed: 7.0.119 [/usr/lib/dotnet/sdk] 8.0.108 [/usr/lib/dotnet/sdk] .NET runtimes installed: Microsoft.AspNetCore.App 7.0.19 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 8.0.8 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 7.0.19 [/usr/lib/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 8.0.8 [/usr/lib/dotnet/shared/Microsoft.NETCore.App] Other architectures found: None Environment variables: Not set global.json file: Not found Learn more: https://aka.ms/dotnet/info Download .NET: https://aka.ms/dotnet/download
32 replies
CC#
Created by alecrim7k on 8/18/2024 in #help
✅ WebApi template doesn't run on https from the terminal but runs from VS Code's debug and run
I did, followed all the instructions and rebooted. Still the same message. There's a section for Ubuntu that I followed the instructions too.
32 replies
CC#
Created by alecrim7k on 8/18/2024 in #help
✅ WebApi template doesn't run on https from the terminal but runs from VS Code's debug and run
Awesome, I launched with -lp https and it worked, much appreciated. It still displays the message : warn: Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer[8] The ASP.NET Core developer certificate is not trusted. For information about trusting the ASP.NET Core developer certificate, see https://aka.ms/aspnet/https-trust-dev-cert. Should I be concerned?
32 replies