Introduction to One-click release deployment Visual studio plugin [AntDeploy]
Plugin download address:
1.iis one-click release auto-deployment (iis deploy support)
Support for netcore and netframework release (support mvc webapi)
Support for automatic website creation
Ps: need to install an agent on the windows server. Please see below for instructions.
2.docker one-click release automatic deployment (docker deploy support)
Does not support windows server
Support centos7+ and ubuntu 16.04 +
No need to install agent on linux
3.windowsservice one-click release automatic deployment (window service delpoy support)
Support for netcore and netframework release
Support windowsservice automatic creation
When docker is released, you need to pay attention to the need to install docker on the server.
Otherwise it will fail.
If your publish directory has DockerFile, it will be executed according to it.
If not, the default DockerFile will be used.
Ps: It is best to pull the corresponding microsoft runtime base image under pull.
Otherwise, the first pull will have to be very very slow from origin pull.
First of all, I’m sorry to say that this plugin is the interface that winform does not look good.
Get started quickly:
Go to the Setting tab interface.
1.1 First add environments, such as test environment and production environment
1.2 Then add the corresponding server to the environment.
(divided into windows server and linux server)
- Windows server
It is necessary to install an agent on the server. Refer to the above instructions.
After installing the agent successfully, enter the ip address and port number in the Host, for example: 192.168.0.100:5555
Enter the Token value of your agent in Token.
- Linux server
It is not necessary to install the agent directly into the host. For example: 192.168.0.1:22 If your ssh port is the default, you can enter the IP directly without entering the port number.
UserName is the login account of linux. It is best to have permission.
Pwd is the password of the corresponding account
1.3 Configuring IgnoreList
For example, if you want to publish to a remote server and want to exclude specific files, you can add the file name.
For example, if you want to exclude .json files, you can add a *.json
After the above configuration is completed, you can deploy it with one click.
The tool is designed to improve the rapid deployment of net developers and reject repetitive work.
The implementation principle is followed by an article.