4

I've got an automated build deploying to Azure. I'd like to know the staging URL.

Ideally I'd like to be able to assign a DNS to it so I don't have to distribute a new staging URL every time I deploy.

Otherwise, I'd like to be able to find the staging URL so I can distribute it automatically.

Any ideas?

Iain Galloway
  • 18,669
  • 6
  • 52
  • 73
  • 2
    Yeah, I wish Azure didn't generate a new GUID for every time you deployed to staging. I'm interested in learning about some workarounds. – Vyrotek Jun 23 '11 at 22:32
  • Can you please elaborate? How do you use the GetDeployment API in this case? I need to be able to find the exact URL of the service to put in to its web.config file. Thanks, DL –  Oct 10 '11 at 22:34

1 Answers1

4

Presumably your automated deployment is using the Service Management API... you can just use the "Get Deployment" method to get the staging deployment's URL.

Sam Holder
  • 32,535
  • 13
  • 101
  • 181
user94559
  • 59,196
  • 6
  • 103
  • 103