Link to home
Start Free TrialLog in
Avatar of Alexander Style
Alexander Style

asked on

How do I deploy my OrchardCore ASP.Net Core application to my Linux virtual machine?

How do I deploy OrchardCore or an ASP.Net Core application to an Ubuntu Linux virtual machine? I am using Visual Studio 2019 and this by far what I have done.

I have installed ASP.Net Core SDK

User generated image
I have different options in publishing with VS 2019 and I tried FTP as i think this will work with linux and not web deploy. But I'm gettign error.
I don't even know how to set the values for FTP deployment.

User generated image
I ssh over my virtual machine using Powershell and in SSH I think I can use dotnet commands like dotnet restore, dotnet build, etc.

How can I deploy my OrchardCore to Linux given above?

Avatar of Chinmay Patel
Chinmay Patel
Flag of India image

1. First prepare a deployment folder
2. Publish your project to that folder
3. Copy deployment folder to Linux (Normal copy, nothing special)
4. If you have not installed it yet, install .Net Core Runtime (

After you do the above mentioned steps, follow this guide:
Avatar of David Favor
David Favor
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial