Questions tagged [azure-configuration]

122 questions
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
  • 34,265
  • 48
  • 183
  • 366
19
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,669
  • 4
  • 25
  • 52
17
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…
13
votes
6 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
  • 515
  • 1
  • 8
  • 21
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,434
  • 7
  • 52
  • 108
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
  • 34,265
  • 48
  • 183
  • 366
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)?
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,434
  • 7
  • 52
  • 108
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,229
  • 9
  • 40
  • 64
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
  • 159,303
  • 82
  • 478
  • 911
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…
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
  • 8,321
  • 6
  • 34
  • 57
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,157
  • 2
  • 30
  • 43
6
votes
7 answers

Windows Azure Tools for Visual Studio csdef and cscfg do not match

I am completely losing my mind over this as I have a lot of work to do and I can't accomplish anything right now. Something happened and now every time I try to run our project in the Windows Azure emulator via Visual Studio it pops up the error as…
Kyle Sawatsky
  • 165
  • 1
  • 10
5
votes
3 answers

Windows Azure, addressing instances and sticky sessions

For a proof of concept paper, I collected facts about Windows Azure. There are 2 topics remaining I could not find a definitive answer for. Sticky sessions/sticky load balancing is not possible, am I right? Maybe there is a possibility with the…
alapeno
  • 2,544
  • 6
  • 34
  • 51
1
2 3
8 9