Plugin download address:

https://marketplace.visualstudio.com/items?itemName=nainaigu.AntDeploy

 

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.

 

Does not support windows server

Support centos7+ and ubuntu 16.04 +

No need to install agent on linux

 

Support for netcore and netframework release

Support windowsservice automatic creation


https://github.com/yuzd/AntDeployAgent

 

 

One2

DEMO demo:


[demo demo] IIS one-click release mvc project (netframwork version)


[demo demo] IIS one-click release mvc project (netcore)

One3

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.

 


[demo demo] One-click release of netcore project to Docker

One4

 


[demo demo] One-click release of WindowsService project (netcore)


[demo demo] One-click release of WindowsService project (netframwork version)

One5

 

First of all, I’m sorry to say that this plugin is the interface that winform does not look good.

Get started quickly:

1 Configuration:

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.
Support regular

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.