In our daily publishing process, frequent incremental updates of files are frequently encountered and the need to manually replicate copies to remote servers is a problem. This is not only time consuming, but often error-prone.
Usually we can use Web deploy to publish, to solve the above problem.
Let's look at how Web Deploy can benefit us:
1. Comparison of local and server files
2, File Incremental update
3. Remote Automatic deployment
4. Automatic switch of configuration file
The following are specific actions that use Web Deploy.
1 server-side installation, management services
2 opening the Management Service in IIS
3 Create an IIS user and authorize IIS users in the site
4 Download and install the Web Deploy 3.5 Web Deploy 3.6 must be installed sequentially, or you may receive a 404 error 5 Configure publishing settings
6 Preview the publication to publish only selected files
Publishing by using Web Deploy