Questions tagged [azure-configuration]
144 questions
4
votes
1 answer
Struggling to move Web Role to a smaller vmsize
I want to move my web role to a smaller VM size for cost saving purposes.
I changed the vmsize attribute in WebRole in the ServiceDefinition.csdef accordingly. On publishing I received the following error:
Total requested resources are too large…

Dave New
- 38,496
- 59
- 215
- 394
4
votes
1 answer
how to create windows virtual machine with 16gb ram
I am totally new to cloud services, and using Windows Azure, I need a web server and a database server, each with 16gb of RAM. However, the extra large windows virtual machines only have 14gb of RAM. How would I go about adding 2gb of RAM to each of…

Bob
- 61
- 1
- 4
4
votes
2 answers
Windows azure with error Microsoft.WindowsAzure.Plugins.Caching.FileStore
After I updated Azure SDK to 1.7 version and tried to publish my changes on web role it shows me an error:
Windows Azure could not find the resource Microsoft.WindowsAzure.Plugins.Caching.FileStore in the service package.
How can this error be…

Sergey
- 7,933
- 16
- 49
- 77
4
votes
2 answers
Why is CloudConfigurationManager using my Cloud.cscfg instead of Local.cscfg?
I have configured my application to use the Service configuration Local in the development settings.
I have two cscfg files (as per default) Cloud and Local. I have added connection strings for Storage that tell it to use a live account in…

GraemeMiller
- 11,973
- 8
- 57
- 111
4
votes
1 answer
Azure: Caching tab is not visible
Maybe my question is a bit stupid, but :)
I installed Azure SDK 1.7 (June 2012). And there is no caching tab in web role properties. What should I do to enable caching tab?
*I'm using VS 2010.

Marat Faskhiev
- 1,282
- 6
- 17
- 37
3
votes
1 answer
What is the benefit of using Azure App Configuration over an App Service's "Configuration" (environment variables)?
When you have an app service, it has a "configuration" tab, which allows you to define key-value pairs that are treated as environment variables by your application.
Azure also has "Azure App Configuration" which is sort of like a cloud app.config…

Tessaract
- 1,047
- 7
- 24
3
votes
5 answers
Windows Azure Connection Strings - How to Handle Local vs. Production?
I'm in the process of deploying some windows azure projects and I've noticed that it's a bit of a pain to constantly switch my role configuration settings from using LocalStorage to actually use my Windows Azure Storage connection strings.
For…

David Hoerster
- 28,421
- 8
- 67
- 102
3
votes
1 answer
Azure App Service Application settings
As far as I know we can store connection strings in azure Applications settings under Connection string section. My question is, can we store below configuration in Application settings.
"IdentityConfig": {
"Authority":…

Damith
- 1,982
- 3
- 28
- 42
3
votes
2 answers
Saving complete azure configuration to file?
Is there any way to save the complete state of my azure configuration?
Basically, I just created a demo for a project I'm working on. This demo has a website/webjob, scheduler, storage queue, storage blob, redis cache and documentDB. I have…

Amir
- 317
- 2
- 11
3
votes
1 answer
Azure Worker Role / Web Role not reading from ServiceConfig
I have an Azure Worker Role (WR) which is supposed to pick up it's config from the .cscfg files using:
var setting = CloudConfigurationManager.GetSetting("My.Setting.Name");
Running in the emulator this is fine, I get the:
Getting "My.Setting.Name"…

Charlotte Skardon
- 6,220
- 2
- 31
- 42
3
votes
1 answer
unhealthy instances in Azure
I have a working deployment.
I've added to the configuration file of a Cloud Service Role:
Task commandLine="EnableCompression.cmd" executionContext="elevated" taskType="simple">
Then in the cmd…

Himberjack
- 5,682
- 18
- 71
- 115
3
votes
1 answer
code to power on and power off an instance in windows azure
Hi I am a beginner in windows azure. I want to create an instance in windows azure and later power it on and power it off programatically with C# code. I have written code to perform these operations in hyper V server using WMI but I do not…

Sandhya Akkasali
- 105
- 2
- 8
2
votes
3 answers
Azure: How to execute a startup task delayed?
I have two Sites within my WebRole and have defined a Startup task.
The first line works fine, it creates a new App pool for me:
%WINDIR%\system32\inetsrv\appcmd.exe add apppool /name:"VCPool" /managedRuntimeVersion:"v4.0"…

Houman
- 64,245
- 87
- 278
- 460
2
votes
2 answers
Is there a way to know in what environment my webrole runs?
I am working on azure webrole, and in one of my application which is console application, I want to know in which enviroment my webrole running?
I.e staging / production environment.
Is there any dll available to get this idea? I am looking for the…

amit patel
- 2,287
- 8
- 31
- 45
2
votes
1 answer
azure service definition localstorage element
Created a web role project on Azure. Looking at the service definition file I see that it adds a LocalResources section -
It…

user529265
- 820
- 10
- 27