I am a bit confused about deploying cloud services and especially, is it possible to replace the code

Just used to publishing VS2012 Cloud Services. I currently have one instance of webrole that contains an MVC3 application. I can publish it to Azure without problems, and it creates a Cloud Service> Web Role> virtual machine. Good. It takes a bit.

However, when I make a small code change, how can I transfer only this code change without replacing all the virtual machines that implement WebRole, etc.

It seems that the code and infrastructure are inseparable or I misunderstood. Is there a way to just update the code bit?

Thank.

+4
source share
5 answers

, , , ​​ , , .. - , .

, .

+3

. , , , /. VHD. Azure , vhd, vhd. , .

. (vs delete + redeploy), ( , ). , , (, , , -, ).

, , , , .

+2

WebDeploy , AzureWebFarm ( : ).

Octopus Deploy AzureWebFarm.OctopusDeploy ( : ).

, -, - -. , , .

+2

All of the above answers are correct, and if you are trying to change your code for a production service, you will definitely want to update as described. However, often during the dev / test phase or troubleshooting, I want to make a small change and quickly test it. To do this, go to http://blogs.msdn.com/b/kwill/archive/2013/09/05/how-to-modify-a-running-azure-service.aspx , which describes how to change the code through RDP on Azure VM.

+1
source

Source: https://habr.com/ru/post/1533437/


All Articles