Can I edit a .Net Core MVC aplication in Visual Studio and deploy to Linux server (e.g. Ubuntu).
Are there any tutorials for this problem?
Can I edit a .Net Core MVC aplication in Visual Studio and deploy to Linux server (e.g. Ubuntu).
Are there any tutorials for this problem?
You can check this page in the ASP.NET CORE documentation - https://docs.microsoft.com/en-us/aspnet/core/publishing/linuxproduction
A good example can also be found in this blog post from Scott Hanselman - https://www.hanselman.com/blog/PublishingAnASPNETCoreWebsiteToACheapLinuxVMHost.aspx
I currently use my own batch script to deploy which follows these steps:
I do not know how your can deploy from Visual Studio to Ubuntu server, but if you have access to the server (for instance with SSH) you can simply pull your code from a Git's repository, then compile, publish and run.