Publishing ASP.NET Core


In this article we will discuss how you should publish an ASP.NET Core application. There are a few extra steps needed to configure this properly.

To run ASP.NET Core you first of all need a Core package from us, with our standard packages such as the total package this is not possible. An upgrade can be requested in the ticket system.


First of all, a number of things should be checked and set in the control panel.

Step 1. Log into the control panel.

Step 2. Go to FTP accounts.

Publishing ASP.NET Core

Step 3. Select create FTP account.

Publishing ASP.NET Core

Step 4. FTP account
When creating the FTP account, you need to set the home folder to the specific domain folder. See the example in the screenshot.

Publishing ASP.NET Core

Step 5. Website folder.
Go to websites in the control panel and change the home folder of the hosting space to a folder above the wwwroot. So instead of etcore.comwwwroot, change this to etcore.comThen
press save changes again.

Publishing ASP.NET Core


Step 6. ASP versionStill
under websites in the control panel, select the extensions tab and check that the ASP.NET version is intergrated at 4.0. This is also automatically ASP.NET Core.
After this again save changes.

Publishing ASP.NET Core


These were the steps to perform in the control panel.
The following steps will be local in visual studio.

Step 7. Start Visual studio project.

Start a project within Visual studio and select a .NET Core application.

Publishing ASP.NET Core

Step 8. Select web application Step

Publishing ASP.NET Core

9.Go to the wizard to publishthe application .

Publishing ASP.NET Core

Step 10. Select Custom from the screen and click next.

Publishing ASP.NET Core

Step 11. Enter the FTP details.

Publish mode -> FTPPassive
mode should be onDestination
URL enter the domain name.
Then click publish again.

Publishing ASP.NET Core

Step 12. Complete the settings.

Then pressPublishing ASP.NET Core

publish again.


Step 13. Publish the ASP.NET Core application.

Publishing ASP.NET Core


Step 14. Go to the website.
After uploading you can go to the URL in your browser. The application will then be available.

Publishing ASP.NET Core