3 ms·
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-7.0 https://learn.microsoft.com/en-us/aspnet/core/host-and-deplo... H
by mattmanser 4y ago
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-7.0 https://learn.microsoft.com/en-us/aspnet/core/host-and-deplo...
Here's how to deploy it on a Linux VM. Most of the instructions are about setting up nginx (the reverse proxy). You can follow those instructions to deploy it to a cheap digital ocean droplet for example, or an AWS VM.
Once it's set up it's trivial to deploy by FTP.
Or you can deploy it to Azure, which is simpler and can automatically trigger a release on a git push, but more expensive if you need certain things which force you off the free tier:
https://learn.microsoft.com/en-us/azure/app-service/quickstart-dotnetcore?tabs=net60&pivots=development-environment-vs https://learn.microsoft.com/en-us/azure/app-service/quicksta...
You can still deploy it to IIS too, but I think the writing's on the wall for hosting via IIS so not sure if it's worth learning.