Web deploy can be used to upload a site developed through Visual Studio to the web server. Using web deploy can help avoid issues like missing assemblies that might occur when uploading a Visual Studio project via FTP. Note that the steps below are for Visual Studio 2017. Additional information relating to Deployment Mode in Core can be found at the bottom of the article.
Set up a publish profile
In Visual Studio, right click the project and select Publish from the menu.
Select IIS, FTP, etc as the publish target and click Publish.
The web deploy connection settings required are
Site name: a series of digits separated by a hyphen (see Web Deploy Pane below)
User name: SiteName\UserID (see Web Deploy Pane below)
Password: the FTP / Everleap Control Panel password
Destination URL: optional and can be left blank; used for a redirection after the site is successfully deployed
After entering the connection information, click Validate Connection. If there is a check mark and the project has no database, click Save. If there is a database, click Next to set up the connection string.
Web Deploy Settings
The connection settings for Web Deploy can be reviewed on the applicable Site Overview page. Found at Everleap Control Panel > Sites (https://cp.everleap.com/sites/
) > Manage (if multi-site plan) > select Web Deploy from the bottom pane
If a connection string is required for the deployed project, an Everleap database connection string can be found at Everleap Control Panel > Databases > Shared MS SQL (or Private MS SQL) > Manage (applicable database). Note that the example Connection String does not contain the database password in plain text, so it will need to be updated after copying it to Visual Studio. After adding the connection string, Save.
After saving the publish profile, the left pane in Visual Studio should update. Click Publish to deploy the project to the web server.
Before deploying a Core application, the Deployment Mode should be changed to Self-Contained. The Deployment Mode is found in the Publish Settings (click Next when viewing the Publish Connection). Select "Self-Contained" from the drop-down, Save and Publish.