Report this

What is the reason for this report?

Hosting a .NET web app as an App or Droplet?

Posted on October 10, 2022

Hello! What would be the best choice for hosting a .NET 6 Web API project on digitalocean:

  • Hosting as a Droplet (using a template or manually installing Docker, nginx and managing the server)?
  • Using the App platform to deploy a docker image?

The project only requires a way to host it as a web app (uses AzureSQL as a database). I would like to have the easiest way to manage the app (meaning fastest way to push updates and maybe not having to deal with server management stuff). I can create a docker image from the source files and let docker build the app or load the binaries as well. The app only required port 80 and 443. I need to setup HTTPS.

Can I do this with the App platform? Host the app with my own docker image and with an ssl certificate (let’s encrypt is enough)?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.