How to publish ASP.NET Core web application via Visual Studio 2015

Create a web app
From the Visual Studio Start page, tap New Project.
In the center pane, tap ASP.NET Core Web Application (.NET Core) Create a web app

In the New ASP.NET Core Web Application dialog, tap Web Application, and then tap OK.


Login to your hosting control panel --> Websites --> Select the target site --> click Show Web Deploy Info. If you have not enable this feature, please enable it first at the same place. You will able to see the web deploy settings there or download the publishing xml configuration file directly.
And then open your web application with Visual Studio 2015, right click the web application, then click"Publish" to start.
You can chose Import  with Publish XML and Custom to fill in the deploy info.

Click Validate Connections to check the deploy info,then you can tap Publish.

Note:If you get certificate error with publish,please add below code to your PublishProfiles.


Best ASP.NET Hosting Recommendation provides its customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. offers ASP.NET hosting starts from $1/month only. They also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable ASP.NET Hosting, should be your best choice