Questions tagged [cscfg]

Windows Azure Service Configuration Schema (.cscfg File)

Windows Azure Service Configuration Schema (.cscfg File)

The service configuration file specifies the number of role instances to deploy for each role in the service, the values of any configuration settings, and the thumbprints for any certificates associated with a role. If the service is part of a Virtual Network, configuration information for the network must be provided in the service configuration file, as well as in the virtual networking configuration file. The default extension for the service configuration file is .cscfg.

The service model is described by the Windows Azure Service Definition Schema (.csdef File).

By default, the Windows Azure Diagnostics configuration schema file is installed to the C:\Program Files\Microsoft SDKs\Windows Azure.NET SDK\\schemas directory. Replace with the installed version of the Windows Azure SDK.

Reference: http://msdn.microsoft.com/en-us/library/ee758710.aspx

14 questions
4
votes
4 answers

Managing connection strings Azure Cloud service deployment

I have an azure cloud service project which comprises of one worker role and one web role. I need to have both staging and live deployments but I need them to have different connection strings because the worker role generates lots of data which is…
Obi
  • 3,091
  • 4
  • 34
  • 56
2
votes
2 answers

Windows Azure cscfg file, presenting enums

I am writing cscfg file. I want to present one of its values to be enum: enum Importance { None, Trivial, Regular, Important, Critical }; I cscfg file I have a following Setting: Is it…
YAKOVM
  • 9,805
  • 31
  • 116
  • 217
1
vote
1 answer

Difference between web.config and cscfg file?

I have an azure webapp which currently uses web.config file. I wanted to know if it is possible to create cscfg file for a webapp? If yes, what is the difference between web.config and cscfg configuration file and which one is preferred?
1
vote
2 answers

download Azure Service Configuration (.cscfg) through Powershell cmdlet Get-AzureRMDeployment

I am trying to download service configuration (.cscfg) from a Cloud service using the below command powershell command. but unfortunately getting an error. Get-AzureRmDeployment -Name "xxxx" Get-AzureRmDeployment : Deployment 'xxxx' could not be…
user1335978
  • 193
  • 4
  • 13
1
vote
1 answer

How to fix "OS version specified in the .cscfg file is inactive" for Azure deployment?

One of our msbuilds started failing a few days ago with this error: The polling operation Create Deployment failed with the error: (400) BadRequest. Error Code: BadRequest Message: The OS version specified in the .cscfg file is inactive. This means…
Aaron
  • 2,154
  • 5
  • 29
  • 42
1
vote
2 answers

How do you add an element to an empty XML (CSCFG) node in PowerShell

I have an xml file (CSCFG File) like below XML File:
Pradebban Raja
  • 443
  • 5
  • 20
1
vote
0 answers

How to access Azure config at runtime in Python

I am building a worker role built with Python (in a .pyproj) using the Azure SDK. I would like to be able to access settings defined in the role's .cscfg configuration file at runtime. The SDK readme implies that this can be done, but I cannot…
Jason Dufair
  • 671
  • 8
  • 15
1
vote
1 answer

Programmatically updating cscfg for Azure Cloud Service

Does anyone know if this is possible - and if so how it can be done? I need to be able to update the settings stored in the .cscfg file on a fairly regular basis and wondered whether this can be done from code. i.e. Without uploading a new .cscfg…
0
votes
1 answer

how to read service configuration (.cscfg) of a cloud service created on RM subscription

I have a cloud service (classic) created on RM subscription. I need to read its service config (.cscfg), update the config and redrploy it back to the cloud service. I did it using get-azuredeploy command on Classic, but this command doesnt work on…
user1335978
  • 193
  • 4
  • 13
0
votes
1 answer

Azure Cloud Service - different mapping per environment

I have a Cloud Service in Azure and I have multiple environments. One of my classes use a mapping (key-value mapping) for doing some calculations. The number of keys in that mapping varies depending on the environment. I'm guessing I have no choice…
johni
  • 5,342
  • 6
  • 42
  • 70
0
votes
1 answer

variable size list of connection strings in cscfg

I have an Azure Service and I'm using .cscfg files for my configurations. When my service loads the .cscfg, it expects to have there at least 1 connection string. The problem is, more connection strings may be added later to the cscfg file and I do…
johni
  • 5,342
  • 6
  • 42
  • 70
0
votes
2 answers

Create Azure Cloud Service package in Visual Studio Team Services build

We have an Azure Cloud Service with a web role and a worker role. We would like to setup continuous delivery in Visual Studio Team Services, automatically pushing out a build to Azure on source check-in. (QA environment). The source code is in…
0
votes
1 answer

Azure Cloud Service connected with Azure Virtual Network - is the internal IP static or dynamic?

I have deployed cloud service (NOT virtual machine) and attached it to the virtual network that I've created with following cloud service configuration:
0
votes
1 answer

Parsing a Azure cloud services cscfg file using Powershell for Fluent Migrator

We have a number of Cloud Deployment projects for our Cloud Services. e.g. \-Project.Cloud.UAT \-ServiceConfiguration.Cloud.cscfg \-ServiceDefinition.csdef \-Project.Cloud.Production \-ServiceConfiguration.Cloud.cscfg …
Eoin Campbell
  • 43,500
  • 17
  • 101
  • 157