How to Deploy a Visual Studio 2017 .NET Core Project to DiscountASP.NET/Everleap

 
Via Web Deploy
 
  1. Download this PowerShell script from GitHub and place it in C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\Publish\Scripts\1.1.0\publish-module.psm1 or whatever path you installed Visual Studio to (e.g. if you changed the drive letter to E:).  The script needs to go in the Scripts folder under the .NET Core version you are trying to publish.  If the version number (folder) does not exist, create it.
  2. Download the publishing profile from the Control Panel on
  3. In Visual Studio 2017, right click on your project and select Publish...
  4. Check Create New, scroll right and select Import profile, click on the Publish button, find the publishing profile you downloaded and click on Open.  If you get a prompt about logging in via FTP, cancel out of it.
  5. In the drop down list next to the Publish button, select the one that says "Web Deploy".
  6. Click on the Settings... link.
  7. Append this query string to the URL in the Server field:
    • ?site=domain_name.com
      where domain_name.com is the domain name of your site.
      Note: For Everleap, the site name is actually the first part of your Username (everything before the \ symbol) as shown below.
  8. Enter your site password and click on the Validate Connection button.
  9. If you see a green check mark to the right of Validate Connection, then you are ready to publish.  Click on the Save button.
  10. Click on the Publish button to publish your application.
Via FTP
 
  1. In Visual Studio 2017, right click on your project and select Publish...
  2. Click on the Create new profile link.
  3. Select IIS, FTP, etc and click on the OK button.
  4. In the Publish method drop down list, select FTP.
  5. Fill out the fields in ServerSite pathUser namePassword, and Destination URL.  Your FTP publishing information can be found in the Control Panel.
  6. Click on Validate Connection button.
  7. If you see a green check mark to the right of Validate Connection, then you are ready to publish.  Click on the Save button.
  8. Click on the Publish button to publish your application.
Via File System
 
  1. In Visual Studio 2017, right click on your project and select Publish...
  2. Click on the Create new profile link.
  3. Select IIS, FTP, etc and click on the OK button.
  4. In the Publish method drop down list, select File System.
  5. Choose a Target location like your local "Downloads" folder, then click on the Save button.
  6. Click on the Publish button.
  7. Upload the contents of the published folder using an FTP client like FileZilla.