Targeting Azure Storage: Listing 1: Move from Development Storage to Azure Cloud Storage with a Configuration File Change

The ServiceConfiguration file's <ConfigurationSettings> group contains <Setting> elements to determine the location of Azure Storage Services: In a local SQL Server 2005/2008 Express instance (Development Storage) or Azure cloud storage. This example specifies cloud storage because Development Storage settings are commented. (SHA256 AccountSharedKey settings are truncated for brevity.)

<?xml version="1.0"?>
<ServiceConfiguration serviceName="AzureBlobTest" 
    xmlns="http://schemas.microsoft.com/
    ServiceHosting/2008/10/ServiceConfiguration">
  <Role name="Web">
    <Instances count="2" />
    <ConfigurationSettings>
      <!-- <Setting name="AccountName" 
        value="devstoreaccount1"/> 
        Developer Storage Account
      <Setting name="AccountSharedKey" 
        value="Eby8v…dGMGw=="/>
      <Setting name="BlobStorageEndpoint"  
        value="http://127.0.0.1:10000/"/> -->

      <Setting name="AccountName" 
        value="oakleaf2"/>
      <Setting name="AccountSharedKey"  
        value="tUNpa…guRcivpVw==" />
      <Setting name="BlobStorageEndpoint" 
        value="http://blob.core.windows.net" />

      <!-- Custom setting values for cloud WebRole -->
      <Setting name="ContainerName"  
        value="oakleaf2store"/>
      <Setting name="LogContainerName" 
        value="oakleaf2log"/>
    </ConfigurationSettings>
  </Role>
</ServiceConfiguration>
comments powered by Disqus

Featured

  • Visual Studio Insiders Further Refines Copilot Usage Tracking

    With devs reeling from usage-based billing sticker shock, Visual Studio 18.9 makes monthly Copilot plan usage easier to reach from the coding workflow while adding more cost information to a redesigned model picker.

  • VS Code 1.130 Expands Agent Host and Review Tools

    Microsoft's latest weekly VS Code release advances shared agent sessions, multi-file change review, chat visibility and terminal navigation

  • Microsoft Agent Framework Makeover: Claws, Loops and Harnesses

    Microsoft's newly released Agent Framework Harness packages the loops, planning, memory, context management and safety controls that developers previously had to assemble around AI models themselves.

  • Visual Studio 2026 Gives Copilot Built-In Skills -- and Makes Them Prove Their Worth

    Microsoft is moving Agent Skills beyond bring-your-own instructions by shipping expert-authored workflows with the IDE, while keeping them off by default until testing shows their benefits justify the additional token use.

Subscribe on YouTube