Back to Knowledge Base

Publishing Your ASP.NET Core Website using Web Deploy

Deployment

Deploying via Visual Studio Web Deploy

Web Deploy is the fastest and most reliable way to publish your ASP.NET Core applications directly from Visual Studio to your SmarterWebhosting account.

Configuration Steps

  1. In Visual Studio, right-click your Web Project in the Solution Explorer and select Publish.
  2. Select Web Server (IIS) as your target.
  3. Select Web Deploy as the deployment method.
  4. Enter the Server details (found in your Hosting Dashboard):
    • Server: https://deploy.smarterwebhosting.com:8172/msdeploy.axd
    • Site Name: Your domain name (e.g., yourdomain.com)
    • User name: Your deployment username
    • Password: Your deployment password
  5. Click Validate Connection to ensure your credentials are correct.
  6. Click Publish!

If you encounter any locks on your DLL files during deployment, please use the "Recycle App Pool" button in your Client Area to free up the files before trying again.