1
votes

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

1

1 Answers

2
votes

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.