You had published and deployed your application to the web, and the default error page that ship with the template will give the following instruction. Which means the user will see the same page when an error occurred. Best practice is to change the instruction into something more instructive for Continue Reading
Changing the environment variable in Asp.net core 6 – Visual studio 2022
In Visual Studio 2022 access to the environment variables had changed from the previous version. The management of launch profiles has moved to a dedicated dialog. it may be accessed via a specific link. This link is Accessible under Project properties > Debug > General The default vs 2022 environment Continue Reading
docker-compose files
docker-compose.yml docker-compose.override.yml
Blazor Sever Docker file
System.ArgumentException: ‘The path must be absolute’
Getting this error because you are trying to Host Blazor Server on Docker Choosing Production environment over Development Environment and specifying the certificate path used by Kestrel , will not give you ‘The path must be absolute’ and everything will work fine. Why talking about Kestrel? Switching to Production environment, Continue Reading