Skip to main content

How to deploy .NET Core Web Application using Visual Studio

This article contains steps how to publish ASP.NET Core Web Application using Visual Studio.

ASP.NET / .NET freehosting
If you don't already have our ASP.NET / .NET freehosting, sign up for FREE at https://MonsterASP.net/.

1) Initial Setup

Create website from our hosting Control panel

Control panel - create website

2) Creating Project in Visual Studio

Select ASP.NET Core Web App project and click to Next.

Visual Studio - publish - step1

Fill and select additional informations and click to Create.

Visual Studio - publish - step2

3) Download WebDeploy publish profile

First you need to activate WebDeploy account in our hosting Control panel and then download WebDeploy publishing profile (.publishSettings).

Control panel - activate webdeploy

4) Prepare publish Project

Right-click on project in Solution Explorer and select "Publish."

Visual Studio - publish - step3

Click on Import profile and select WebDeploy profile file (.publishSettings) which you downloaded from hosting Control panel.

Visual Studio - publish - step4

5) Publish to server

In final step click "Publish" button. After this action will be your ASP.NET Core Web App project published to your Website.

Visual Studio - publish - step5

6) Congratulations, it's done.

Open result in your web browser.