VS2022 .NET5 one-click publishing to remote Tencent Cloud IIS server

1. First open the server add function

2. Download and install WebDeploy

https://www.microsoft.com/en-us/download/details.aspx?id=43717icon-default.png?t=M1L8https://www.microsoft.com/en-us/download/details.aspx?id=43717

 

 

This is the thing, my server is 64-bit, if it is used by local iis, look at how many bits of your system is installed after downloading it.

3. Turn on the service

 4. Open IIS configuration remote connection

 

 Once configured, restart IIS

5. Open Tencent Cloud, configure the firewall, and add port 8172

 The server thing is configured here, and then configure VS

 6. Select the project to publish

(1) Select WebServer (IIS)

(2) Select Web Deploy

(3) Configure the server information, this is the configured screenshot

 

(4) Just publish

 

Guess you like

Origin blog.csdn.net/baidu_39105563/article/details/123299116