locked
Storing Web.config in Blob Storage RRS feed

  • Question

  • Twitter user @MaximRouiller asked the following question: "Let's say I want to store a part of my web.config in a blob storage under Azure. Would creating a custom ProviderBase work?"

    Ananda Siverts

    @AzureSupport

    Wednesday, July 15, 2015 6:25 PM

Answers

All replies

  • Yes I did ask! 

    I know it was possible to store part of your config file (appSettings mostly) into a SQL Server database.

    I'm wondering if the same can be done in the cloud! Would satisfy some deployment scenario on multiple environment/subscriptions.

    Cheers!

    Wednesday, July 15, 2015 6:29 PM
  • Hi,

     The same question is discussed in the below stackOverflow article, It talks about using Azure Table storage, with some links which should get you started.
     http://stackoverflow.com/questions/7678634/configuration-files-location-in-windows-azure
     
     Let us know if this helps.

    Regards,
    Nithin Rathnakar

    Wednesday, July 15, 2015 6:59 PM
  • While it does sounds close it's very far away. 

    First he's talking about "an xml file". Not the Web.config per say which works very differently. 

    I'm talking about exporting whole sections of my web.config into a Blob Storage. If I were to move all of our application configuration out of the web.config, then this would make sense.

    Currently, it does not apply to my problem. I know how to read/write from Table/Blob Storage.

    Thanks anyway :)

    Wednesday, July 15, 2015 7:18 PM
  • Hi,

    Here is the post ,it talks about the Azure web.Config file for different  environment.

    Reference:http://blogs.msdn.com/b/rido/p/advanced_configuration_azure_applications.aspx

    Hope it helps!

    Regards,

    Thursday, July 16, 2015 6:40 AM