Publishing ASP.NET Core Project when Publishing to Server is Disabled

PPCMD 61 Reputation points
2022-08-01T17:15:12.4+00:00

I would like to publish my ASP.NET Core website on my web hosting server, but I cannot publish it correctly. I read articles on Microsoft Learn about publishing the app directly, by connecting to the server, which does not work since my host does not support doing so. My hosting server has Plesk installed as the control panel. The Plesk Docs too mention publishing the project to the server, from Visual Studio, which is not possible in my case.

I have been told to manually upload my published project's files, through the File Manager. How should I proceed? Thanks in advance.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,522 questions
0 comments No comments
{count} votes

Accepted answer
  1. ShuaiHua Du 636 Reputation points
    2022-08-02T16:28:29.243+00:00

    Hi

    1. Right click you web project file, click publish:

    227318-image.png

    1. Select folder and click next

    227288-image.png

    1. Set the folder location, and click finish.

    227289-image.png

    If right, please Accept.
    Enjoy programming!!!

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. AgaveJoe 28,041 Reputation points
    2022-08-01T17:18:41.653+00:00

    Publish the web application project to a folder on your system. Then copy the files to your host using FTP or whatever client application your host recommends.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.