Questions tagged [azure-configuration]
144 questions
27
votes
1 answer
How do deployment slot settings work on an Azure App Service?
For a given web app service, when multiple deployment slots are setup, e.g.:
myapp
myapp/staging
and I create an appSetting that is marked as a "deployment slot setting" on myapp, what happens when I swap slots? Does the deployment slot setting stay…

joelmdev
- 11,083
- 10
- 65
- 89
22
votes
6 answers
Completely remove a subscription from Management Portal
In my Windows Azure Management Portal, I still see the "3-Month Free Trial" subscription although it has already expired and been canceled automatically. I've deleted both the hosted service in it and also the database, but it still doesn't…

Daniel Lang
- 6,819
- 4
- 28
- 54
20
votes
2 answers
Azure Web Role "warm up" strategies
I found that making requests to our web role after periods on inactivity would result in a very slow request (up to 30 seconds). After that initial request, the role would perform as it should.
After much Googling, I came across four different…

Dave New
- 38,496
- 59
- 215
- 394
19
votes
8 answers
How to set the default subscription in the Windows Azure Portal?
When I log into the Windows Azure Portal it sets my default subscription to a friend's account that I no longer have access to. I would like to set the account to my account as the default.
If I click on the Subscriptions icon it has a list "Filter…

gmetzker
- 585
- 1
- 8
- 22
18
votes
3 answers
Set the application ConnectionString in the Service Configuration instead of web.config in Azure
I have an application currently in Azure and whenever we push it into the Staging segment, we cannot truly test since the connection string is pointing to the prod database.
Someone mentioned to me that you should be able to set the connection…

Andy
- 183
- 1
- 4
13
votes
2 answers
Is this how to set Context Connection String Using CloudConfigurationManager?
I am looking to use CloudConfigurationManager so I can take advantage of Azure configuration files. I want to use a connection string I added a string to my Cloud.cscfg to configure Entity Framework Context.
I was configuring my context like…

GraemeMiller
- 11,973
- 8
- 57
- 111
11
votes
1 answer
Azure Web Role configuration settings across environments
Releasing before Azure:
Before using Azure, we would just have read-only config files sitting in the different environments (test, staging and production, etc.). During a release, all application files (no config files) would be deployed to the…

Dave New
- 38,496
- 59
- 215
- 394
9
votes
3 answers
Static IP address for Role in Windows Azure?
Does anyone knows if obtaining a static IP address for a Web or Worker Role on Windows Azure is possible (possibly only in private beta)?

Joannes Vermorel
- 8,976
- 12
- 64
- 104
9
votes
1 answer
How can I test changing Azure service configuration settings at runtime locally?
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…

GraemeMiller
- 11,973
- 8
- 57
- 111
9
votes
3 answers
Approaches for (re)deploying code/bin files to (multiple) Windows Azure Virtual Machines
This question may not relate specifically to Azure Virtual Machines, but I'm hoping maybe Azure provides an easier way of doing this than Amazon EC2.
I have long-running apps running on multiple Azure Virtual Machines (i.e. not Azure Web Sites or…

Hairgami_Master
- 5,429
- 10
- 45
- 66
8
votes
3 answers
What's the difference between OnStop() method and Stopping event in Windows Azure role?
Whenever a Windows Azure role is stopped its OnStop() method is invoked. Turns out that there's RoleEnvironment.Stopping event that is triggered before OnStop() is invoked. MSDN says this event is the right place for role clean shutdown code.
What's…

sharptooth
- 167,383
- 100
- 513
- 979
8
votes
2 answers
Getting Error The argument 'nameOrConnectionString' cannot be null, empty or contain only white space with Azure Database
I am having my database and other storage on azure cloud storage.i am using Entity Code first appoach but problem is when i am trying to read connection string from cloud storage using CloudConfigurationManager.GetSetting() i am getting below…

I Love Stackoverflow
- 6,738
- 20
- 97
- 216
8
votes
2 answers
Is a Windows Azure worker role instance a whole VM?
When I run a worker role instance on Azure, is it a complete VM running in a shared host (like EC2)? Or is it running in a shared system (like Heroku)?
For example, what happens if my application starts requesting 100 GB of memory? Will it get…

Andres Riofrio
- 9,851
- 7
- 40
- 60
6
votes
2 answers
Azure - dynamically discovering service web role url in stage
I'm looking into moving an existing app to Azure. It will have an MVC app in one web role and some WCF services in another web role. When live, the site will live at http://www.myapp.com and the services will be at http://api.myapp.com with the MVC…

herbrandson
- 2,357
- 2
- 30
- 44
6
votes
2 answers
Azure cannot access connection string stored in app service configuration
I have an app service in Azure operating as an API for a system I'm designing. As the API is responsible for accessing the database directly, I obviously don't want to be storing connection strings in the source code, so have stored it in the…

ataraxia
- 995
- 13
- 31