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 file to Azure each time. Many thanks
Programmatically updating cscfg for Azure Cloud Service
881 Views Asked by user3584978 At
1
There are 1 best solutions below
Related Questions in AZURE
- Why does Azure Auto-Scale scale go lower then minimum amount of instances?
- Data execution plan ended with error on DB restore
- Why does Azure CloudConfigurationManager.GetSetting return null
- Do I need other roles than Worker Role for a web site and service layer in Azure?
- Azure Web App PATH Variable Modification
- Azure Data Factory: LinkedService for AzureSql in failed state
- How To Update a Web Application In Azure and Keep The App Up the whole time
- Using Azure MobileServices library with my own LAN WebApi
- ionCube loader error on Azure IIS
- App crash (if closed) after click on notification
- How to get sql data bases instances in azure using java api
- I want to create file in azure share using python PUT requests but getting error signature not correct including headers
- Enabling OPTIONS method on Azure Cloud Service (to enable CORS)
- Redirecting subdomain to directory on Azure
- Kaltura account settings error
Related Questions in SERVICE
- Debugging Windows Services while starting
- Error in Calling some service in WCF Client
- i want to create a service that does the login functionality?
- I run an EXE program from a Windows Service but I can't see form C#?
- Android check WIFI status (disconnected or user changed WIFI)
- Having two sequential steps running within a windows service
- Approach for performing long running tasks in .NET
- android - How to get a iBecon detection state when I kill app from Background?
- Symfony2 global function in entity
- Return more that one entity in RESTful response?
- angular unit testing $scope.$on in a service not working
- Are there drawbacks to leaving a SqlConnection open long-term?
- Android control music with headset buttons in a service
- Socket in service on Android writing to server but not reading
- What does the dot mean in Symfony service names?
Related Questions in CLOUD
- Cloud Connection with Java Window application
- CometCloud installation, and possible alternatives
- Creating a scalable database for android app | cloud hosted
- Arduino NearBus NearbusEther_v16.h: No such file or directory
- how to measure Software as a services performace
- Did google change/update related to vm ssl connections to Cloud SQL?
- Pinging a private IP from one private subnet to another private subnet
- Evernote authentication not working via evernote android sdk
- When upload Bitmap stream to Azure storage, it store zero/empty image
- How to connect Clusterpoint database to an android appliaction
- Installing CouchDB on IaaS?
- Error while creating Instance in gcloud ?. How to create an instance using Google Cloud
- In Spark, does the filter function turn the data into tuples?
- Which language to choose? #suggestions
- Dropbox for local development, Git for cloud
Related Questions in SETTINGS
- Media files end up in in a pycharm subdirectory when uploading
- Android Studio (Intellij) keeps adding second line to modules.xml
- Visual Studio 2013 CE keeps overwriting Task list
- Vim: last word on user specific settings?
- C# - Settings.Default.Save() is very slow
- Ivy Settings - Changing the way conflicts are resolved
- How to check if drop down menu of ActionBar is active
- how to permanently save options(dplyr.width = Inf) in Rstudio?
- change the settings file items in .Net console application
- Eclipse error: "Path must include project and resource name" on invoking clean
- Error when going into new activity Android
- Railo cannot add event gateway under service in web admin
- Settings are not stored correctly
- drupal issue with install profile and domain module?
- How to change settings from within my app with code in Android
Related Questions in CSCFG
- Azure Cloud Service connected with Azure Virtual Network - is the internal IP static or dynamic?
- Programmatically updating cscfg for Azure Cloud Service
- download Azure Service Configuration (.cscfg) through Powershell cmdlet Get-AzureRMDeployment
- how to read service configuration (.cscfg) of a cloud service created on RM subscription
- Managing connection strings Azure Cloud service deployment
- How do you add an element to an empty XML (CSCFG) node in PowerShell
- Parsing a Azure cloud services cscfg file using Powershell for Fluent Migrator
- Windows Azure cscfg file, presenting enums
- Difference between web.config and cscfg file?
- variable size list of connection strings in cscfg
- Create Azure Cloud Service package in Visual Studio Team Services build
- How to access Azure config at runtime in Python
- How to fix "OS version specified in the .cscfg file is inactive" for Azure deployment?
- Azure Cloud Service - different mapping per environment
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Configuration file changes are accomplished via
Change Deployment ConfigurationREST API operation, so it is possible to update the config file programmatically. Do take a look atAzure Management LibraryorAzure PowerShell Cmdletsas both of them have implementation for this operation. However you can't update just one config setting by this operation. You would need to download the config file, update the setting and then reupload the config file through this operation.Now I realize that messing with XML file can be error prone. What you could do is create an application which parses this configuration file and present various elements of the XML file in an easy to use UI (do take a look at how it is done in Azure Portal). Once you have made the changes, you can recreate the XML file from the data and then reupload the file. However please note that with this, you won't be able to add new settings. To add new setting, the setting must be added in both cscfg and csdef file and for that you would have to redeploy your application.