I have a SAFE app and I am trying to install the server (Giraffe) on Azure App Service but I have not been able to do that because the VM only has 32 bit dotnet installed. I have not figured out how to install the 64 bit version of dotnet core on it. I have wasted more than half a day trying to find out how to install 64 bit version of dotnet core. This is really bad as I would have expected MS to have 64 bit versions of dotnet core pre-installed on these VMs and if not they would have made it easier to install it.
Can anyone help me installing 64 bit dotnet core on Azure App Service so that I can deploy my app?
You can see that it is 64bit (x86_64). So what I think you can do is create a web app based on Linux as the core OS instead of Windows. Assuming you’re developing on .net core this should work.
Not the Bookstore app, but I’ve deployed my own app. I remmeber when I went through it, the instructions are a bit broken. They don’t work 100%. I had to do some fiddling to get things to work and I think MS have changed the layout in the portal so the screenshots from here https://safe-stack.github.io/docs/template-docker/ don’t match up with what you have to click on the azure portal.
The login to Azure and create a Web App. Under OS select Linux, under Publish select Docker image
Then click configure container and setup the path to dockerhub where azure will fetch the container
I now have another issue where the dotnet core app running in docker is not picking up the Environment variable. This is where I have stored my Postgres connection string. It works fine on Azure functions.