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
885 views Asked by user3584978 At
1
There are 1 answers
Related Questions in AZURE
- How to update to the latest external Git in Azure Web App?
- I need an azure product that executes my intensive ffmpeg command then dies, and i only get charged for the delta. Any Tips?
- Inject AsyncCollector into a service
- mutual tls authentication between app service and function app
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- Application settings for production deployment slot in Azure App Services
- Encountered an error (ServiceUnavailable) from host runtime on Azure Function App
- Implementing Incremental consent when using both application and delegated permissions
- Invalid format for email address in WordPress on Azure app service
- Producer Batching Service Bus Vs Kafka
- Integrating Angular External IP with ClusterIP of .NET microservices on AKS
- Difficulty creating a data pipeline with Fabric Datafactory using REST
- Azure Batch for Excel VBA
- How to authenticate only Local and Guest users in Azure AD B2C and add custom claims in token?
- Azure Scale Sets and Parallel Jobs
Related Questions in SERVICE
- Why does Angular ^17 have problems with my modules, services, etc
- Problem with Android App background service stoping
- How to use interceptors with services in nestjs
- Exchange data between a Windows service and an application
- Unable to resolve service name to its IP inside kubernetes cluster
- Self Hosted Agent service startup getting failed on VM restart
- Linux service stops logging
- Disable/Enable OSB proxy service via WLST
- Write rows on destination even when an error occurs?
- paho mqtt java cannot reconnect after a long time machine sleep
- IServiceCollectionConfigurator' does not contain a definition for 'UsingRabbitMq'
- "setOngoing(true)" Notification dismissed by user
- How to run powershell command in OnStart of ServiceBase Class in C#?
- Is there any way to globally override Android's back button click?
- Terraform Azure Provider: Authenticating using a Service Principal with a Client Certificate
Related Questions in CLOUD
- I need an azure product that executes my intensive ffmpeg command then dies, and i only get charged for the delta. Any Tips?
- Does MS Word secretly upload my file to cloud?
- i was installing cloudstack and ended up in this error can anyone help me?
- Merge Azure mp4 blobs via API (Preferred Azure)
- What's the best practice to use OceanBase in cloud environment
- JSON representation of the current Terraform configuration
- I can't ssh to my instance, Connection refused
- Publish Vue.js + ASP.NET Core on Azure
- Why can CPU memory be specified and allocated during instance creation but not GPU memory on the cloud?
- AWS rekognition faces search
- SAP Cloud Connector
- Well isolated DB storage for each user
- how to upload multiple files and pictures to s3 while keeping the record in database?
- Error syncing Google Calendar, when i login with the account in the flutter project
- how to make public IP works on ec2 machine
Related Questions in SETTINGS
- how to play a sounds in c# forms?
- Issue with Xcode Target and settings for Apple Watch App
- I am using the bash terminal in VS Code, I am new to coding, and the terminal displays very differently, how do I get them to match?
- optimizing my.cnf for specific use case with MariaDB
- How do I specify a default folder for bash terminal in visual studio code?
- I want to run my own interface that I coded with Python in RoboDK
- Lynx options not saving
- How to control the font size in Kivy settings panel for the menu item name in settings menu list
- Visual Studio Code - is not showing dist folder.......and I am desperate
- C# Cant deploy to Custom setting Path
- A way to directly open 'Cleanup recommendation' settings GUI, from Command prompt (or) powershell
- Django, Settings module not found on YouStable hostings
- Changing color of the console outputs in Pycharm
- How can I change the configuration of a Godot project through code?
- ModuleNotFoundError: No module named " "
Related Questions in CSCFG
- Difference between web.config and cscfg file?
- how to read service configuration (.cscfg) of a cloud service created on RM subscription
- download Azure Service Configuration (.cscfg) through Powershell cmdlet Get-AzureRMDeployment
- Azure Cloud Service - different mapping per environment
- How to fix "OS version specified in the .cscfg file is inactive" for Azure deployment?
- variable size list of connection strings in cscfg
- Create Azure Cloud Service package in Visual Studio Team Services build
- Azure Cloud Service connected with Azure Virtual Network - is the internal IP static or dynamic?
- How do you add an element to an empty XML (CSCFG) node in PowerShell
- How to access Azure config at runtime in Python
- Managing connection strings Azure Cloud service deployment
- Programmatically updating cscfg for Azure Cloud Service
- Parsing a Azure cloud services cscfg file using Powershell for Fluent Migrator
- Windows Azure cscfg file, presenting enums
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?
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)
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.