Question

ASP.Net easiest deployment

Posted February 20, 2021 70 views
Getting Started

Hi
What is the shortest and easiest setup for ASP.Net project please? I have read and setup this this on a local machine before. I just want to know if there is a faster easier way. I like that tutorial and it allows me to learn more about NGINX. What I mean by easy is if there is a setup that I can push my project from my machine to a server on your side. As you may know from Visual Studio you can publish using ftp to a server. Can I just spin up a Windows machine on your side with IIS or something and ftp my site to it?

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.

×
1 answer

Hello, @sansari1

At this time we do not have native support for Windows OSs on Droplets. You may be able to achieve this however by creating your own custom Windows ISO image and then using that when creating your Droplet.

Currently, DigitalOcean only allows the deployment of Linux-based OS’s.

NOTE: This is not natively supported on the platform (choosing a Windows OS when you deploy your droplet).

We’d recommend that you add your vote to the Windows Server idea on our Product Ideas Board as well as comment on your use-case there so that our teams can better understand your needs.

https://ideas.digitalocean.com/ideas/DO-I-2872

Regarding the .NET core install, you could follow step one from this article here:

https://www.digitalocean.com/community/tutorials/how-to-deploy-an-asp-net-core-application-with-mysql-server-using-nginx-on-ubuntu-18-04

Hope that this helps!
Regards,
Alex

by Oluyemi Olususi
ASP.NET Core is a more modular version of Microsoft’s ASP.NET Framework. It's a high-performant, open-source framework for building modern web applications. In this tutorial you'll set up and deploy a production-ready ASP.NET Core application with a MySQL Server on Ubuntu 18.04 using Nginx.
  • Thank you. I will submit a suggestion, and mean while what is available is more than enough.

  • Re: above tutorial, I wonder if I can create a certificate with a palceholder for a domain? Do I really need my own domain to create a certificate? This is a personal site; I am not doing any E-commerce or anything on it. And the user(s) would have to accept the certificate any way. This question actually pertains to one of the tutorials this tutorial points to. this one:

    by Hazel Virdó
    by Kathleen Juell
    In this tutorial, we will show you how to use Let's Encrypt to obtain a free SSL certificate and use it with Nginx on Ubuntu 18.04. We will also show you how to automatically renew your SSL certificate. If you're running a different web server, simply follow your web server's documentation to learn how to use the certificate with your setup.
    • Hello there,

      You need a domain name in order to issue and install SSL Certificate. It’s one of the prerequisites. If you do not have a domain name at the moment, you can purchase a domain name on Namecheap, get one for free on Freenom, or use the domain registrar of your choice.

      Regards,
      Alex

Submit an Answer