Hello! What would be the best choice for hosting a .NET 6 Web API project on digitalocean:
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)?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.
This promotional offer applies to new account only.
👋 Szabolcs,
Great question! App Platform will probably be the easiest form of hosting for your .net app. As you mentioned you will need to provide a dockerfile which App Platform can build and deploy for you.
Some additional notes:
Hope this helps!