I am using Abp Commercial framework to create the Acme BookStore sample following the Web Application Development Tutorial. I chose the No tiered mode. However, when I reached step 9 of the tutorial, involving Authors.razor and Authors.razor.cs, I encountered numerous errors that prevent the application from running.
I would like to ask if anyone else has faced these issues and if there are any solutions available.
Note: I have resolved the issue, no action is required further but I am happy to share my lesson learned to avoid others going through the pain!
if you have encountered the SSL connection error while following the ABP commercial installation note. it is probably due to missing CA certificate in your environment. I have resolved this issue with the following instructions, and I would like to share it with you:
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot
Environment environment is very critical, this resolution is probably only work on Ubuntu. I would recommend you to use Github Codespace which has free tier with .NET template available.
$ uname -a Linux codespaces-fee234 6.5.0-1022-azure #23~22.04.1-Ubuntu SMP Thu May 9 17:59:24 UTC 2024 x86_64 GNU/Linux
execute the following command line in terminal
$dotnet tool install -g Volo.Abp.Cli $abp login <username> $abp suite install $sudo apt update $sudo apt install nodejs npm $npm install --global yarn $abp new Acme.BookStore -t app-pro -u blazor -dbms SQLite $sudo -E dotnet dev-certs https -ep /usr/local/share/ca-certificates/aspnet/https.crt --format PEM $sudo update-ca-certificates $cd src/Acme.BookStore.DbMigrator $dotnet run $cd src/Acme.BookStore.HttpApi.Host $dotnet run (in background) $cd src/Acme.BookStore.Blazor $dotnet run (in background)