Reputation: 63
I have a Web API with .NET core 3.0 and I want to publish it to 10 servers (with Windows server) at the same time. Which tool can I use to do that?
Upvotes: 3
Views: 1335
Reputation: 26450
This question has multiple answers, I will try to explain the concepts and then the decision is yours.
dotnet publish - IIS - You can use this to create the deployment package, that is the folder that needs to be put on IIS (if that's your deployment server)
dotnet publish - NGinx - Another guide on how to deploy on linux server.
You can use the above guides to do the manual copy. You can create a bash or powershell script to copy on the target folders simultaneously.
If you are using azure Devops, you can create a build and release pipeline. Check the guide here
Check another guide here on Azure DevOps
There are other tools available for CD, like Jenkins, GitLab (the list goes on).
Upvotes: 3