0

https://azure.microsoft.com/sv-se/documentation/articles/storage-dotnet-how-to-use-blobs/

The article does not say where to store the connection string for a Azure Web App.

Does anyone know?

3 Answers 3

1

Azure Web Apps (websites) provide an Application settings configuration area that you can access to store these types of settings:

App settings

These settings may be in your web.config, as you already discovered. However, if you specify them in your Application settings for your Web App, the web.config values will be overridden by values found in Application settings (see this article which mentions this specifically).

1
  • Marked my own as answer but this is good additional knowledge Feb 25, 2016 at 6:25
0

You usually store connection strings in:

App.config

0

Found the answer further down the article :)

Configuring your connection string using .NET configuration

If you are writing an application that is not an Azure cloud service, (see previous section), it is recommended you use the .NET configuration system (e.g. web.config or app.config). This includes Azure Websites or Azure Virtual Machines, as well as applications designed to run outside of Azure. You store the connection string using the element as follows.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .