Deploying .NET 8 Applications via Plesk Print

  • 0

Overview

This guide covers deploying .NET 8 applications to your Plesk Windows hosting environment using various methods.

Method 1: Web Deploy (Recommended)

Step 1: Get Publishing Profile

  1. Log in to Plesk control panel
  2. Go to Websites & Domains → your domain
  3. Click Web Deploy Publishing Settings
  4. Download the publishing profile (.publishsettings file)

Step 2: Publish from Visual Studio

  1. Right-click your project → Publish
  2. Select Import Profile
  3. Import the .publishsettings file
  4. Click Publish

Method 2: FTP Deployment

Step 1: Publish Locally

dotnet publish -c Release -o ./publish

Step 2: Upload via FTP

  1. Connect to your domain via FTP (credentials in Plesk)
  2. Navigate to httpdocs folder
  3. Upload all files from the publish folder

Method 3: File Manager Upload

  1. Create a ZIP of your publish folder
  2. In Plesk, go to Files
  3. Navigate to httpdocs
  4. Upload and extract the ZIP file

Configuring .NET Core in Plesk

  1. Go to Websites & Domains → your domain
  2. Click Hosting Settings
  3. Under .NET Core, set:
    • Application Root: / (or your app subfolder)
    • Application Startup File: YourApp.dll
    • .NET Core Version: Select 8.0.x
  4. Click OK

Verify Deployment

After deploying, browse to your domain. If you see errors, check:

  • Troubleshooting .NET 8 Application Errors article
  • stdout logs in Plesk for detailed error messages

Was this answer helpful?

« Back