How to publish Blazor WASM Core Hosted using Web Deploy from local Visual Studio 2022 to IIS in a remote W2012 server?

82 Views Asked by At

I just deployed my first Blazor WASM app. Everything is working fine but I'm wondering if I could automate the process of publishing.

Currently the process is:

Publish to folder on local machine

Zip the folder

Copy to remote server

Unzip

Replace files on app folder except the web.config and appsettings.json

The app is published as a sub application on IIS 8.5 running on a Windows Server 2012 machine

I tried to follow this video but I don't see the "Configure Web Deploy Publishing" option at min 14:50, I can see it if I right click on the parent site but not on the sub application.

0

There are 0 best solutions below