Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9184417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T19:02:40+00:00 2026-06-17T19:02:40+00:00

Using the Azure publish wizard gives you some options for changing your config settings,

  • 0

Using the Azure publish wizard gives you some options for changing your config settings, but not enough. You can tell it which build configuration to use (which will apply a transform to your web config) but you only have 2 choices. Release and debug. Also you can specify which cloud service configuration to use which will transform your service.config but again only 2 choices Cloud and Local.

My problem is that I have 3 different versions of my application running in Azure. They are Dev, Demo, and Production. Each has their own database, storage accounts, and other settings related to authentication. Just having a release and debug transformation doesn’t cut it.

Really what I would like is to have a script or something so that I could publish my app to each of my Azure instances. It would change my web.config and service.config and target the right azure instances.

Any suggestions are appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T19:02:42+00:00Added an answer on June 17, 2026 at 7:02 pm

    In researching this I updated my Azure Tools to the October release. Not sure if these options were available in old release or not but here’s what I ended up with.

    As it turns out can add your own services configurations and build configurations in addition to the default ones (cloud/local/debug/release).

    Services configurations can be added by:

    1. Right click your Web role from your cloud service project and select properties.
    2. At the top of the properties window open the Service Configuration menu. Then select manage.
    3. Select a configuration and click the create copy button.
    4. Select the copy and rename it to whatever you want.
    5. Click close and now you should be able to have settings specific to your new service configuration.

    Build configurations can be added by (I followed this blog post):

    1. Select Build -> Configuration Manager from the menu. The
      Configuration Manager dialog
    2. Select from the Active solution configuration dropdown list to bring up the New Solution Configuration dialog.
    3. Enter the name and select the configuration you want to copy. Click Ok.
    4. Make sure you select the correct Configuration (release or debug) for each of your projects for your new solution configuration.
    5. Notice there is still no web.config transform. To add a new Web.config transformation right-click on the Web.config file and from the menu select Add Config Transforms. Notice that a new configuration file matching your new configuration is automatically added

    After following these steps I was able to create a new target profile in the Azure publishing wizard and select these configurations. This lets you automate your web.config settings using transforms and have your own custom cloud service configuration per publishing profile.

    Here is another excellent reference that goes into much more detail then I was able to for this question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently started looking into using Azure but I'm having some issues getting
I have successfully started using Azure AppFabric Caching Service, but I' not sure what
We're using Azure CDN, but we've stumbled upon a problem. Before, content could not
I'm trying to add a region using Azure Datacache object but I'm getting such
I'm trying to deploy my web app to Azure using this method , but
I am using Azure Websites to host my Wordpress Site. But my website receive
we are considering using Azure blob storage as storage for our backups. But we
while writing application using nodejs/azure and table services, how can we set what type
I can debug my application fine but if I debug the Azure project, it
I have a web site built using ASP.NET MVC4 that I can publish fine

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.