Question

i have a Website running on Azure Website(s).

Now i want to store the ASP.NET Sessions in the (new) Managed Cache.

As i deploy to one Staging Installation in North Europe and one Live Installation in West Europe i have to store the Access Key in the web.config.

But as the web.config(transfoirmation) is the same for both destinations i would like to have the Access Key anywhere within the app settings/anywhere else.

How can i seperate the two Access Keys/Cache URls within one Deployment?

Kind regards

Christoph

Was it helpful?

Solution

Isn't it easiest to make another publish setting which makes another transformation. This way when you publish you will always have the correct caching credentials.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top