Pregunta

I am writing our Azure app to use Azure service configuration settings so we can change it in real time. I can test it by deploying and then changing them in the Azure web portal.

How do I allow changing service configuration in real time on my local azure compute emulator?

¿Fue útil?

Solución

In order to update the service configuration you need to modify the *.cscfg file and execute csrun.exe (in C:\Program Files\Microsoft SDKs\Windows Azure\Emulator):

csrun.exe /update:<deployment-id>;<service-configuration-file>

Note that this seems to work only when running the application without debugger.

I recently blogged about this here: Controlling your instances in the Windows Azure Compute Emulator (look under Handling the RoleEnvironment.Changing event in the emulator).

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top