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 7621557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:13:29+00:00 2026-05-31T04:13:29+00:00

How do you manage multiple configurations for Azure cache. We have one test and

  • 0

How do you manage multiple configurations for Azure cache.

We have one test and one live configuration.

If this was just a web role it could easily be managed by the web configurations transformations, however we have a worker role as well, and you can’t really have app.config transformations.

The cache in Azure only allows the “Default” as name, and you can only GetDefaultConfiguration() (as opposed to GetConfiguration(“name”)).

So how do you automatically swap between live and test Azure cache, since we have different urls for the cache.

  • 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-05-31T04:13:31+00:00Added an answer on May 31, 2026 at 4:13 am

    It is possible to manually configure the DataCacheFactory in code, rather than using the custom configuration section in the web.config. If you do that, then you can store the settings in the .cscfg file and manage them along with all your other settings. You end up with some extra code to do the configuration, but it’s pretty straightforward. There are also some options that I believe can only be set through code, though that may not matter to you.

    The configuration code is described in detail on MSDN.

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

Sidebar

Related Questions

I have an application which needs to connect to multiple databases. This is an
I have a windows service which runs in multiple production instances. The configuration file
I have a solution with multiple projects and one of these projects is my
This question flows from the answer to: How does one set up multiple accounts
I have multiple web sites for my clients and each client has a directory
I want to make a Configuration Data Manager. This would allow multiple services to
I have multiple configurations set up in Visual Studio so that I can build
I have an Asp.NET MVC site that I manage multiple instances of. Each instance
So I have this application that would have multiple modules, from project management to
how is called this ui control to manage multiple things like in the contacts

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.