Back to Documentation

Azure Blob Storage

Use Azure Blob Storage as a shared transport for snapshot exchange between environments.

Why Azure Blob Storage?

For distributed teams and load-balanced environments, a shared storage location makes snapshot exchange seamless. Instead of transferring files manually or setting up direct network connections between environments, all environments read and write snapshots from the same Azure Blob container.

Setup

1.

Install the Azure transport package:

2.

Configure the connection in appsettings.json

3.

All environments using the same container will automatically see each other's snapshots

dotnet add package DoubleSync.Storage.Azure

// appsettings.json
{
  "DoubleSync": {
    "Storage": {
      "Provider": "AzureBlob",
      "AzureBlobConnectionString": "DefaultEndpointsProtocol=https;AccountName=...",
      "AzureBlobContainerName": "doublesync"
    }
  }
}

How It Works

When you take a snapshot, it's serialized to JSON and uploaded to the configured Azure Blob container. When another environment compares or syncs, it downloads the latest snapshot from the container. Binary media files (when blob transfer is enabled) are also stored in the container.

Security

Use Azure Managed Identity or a connection string with minimal permissions (read/write to the specific container). The container does not need public access. All data stays within your Azure subscription.

Requirements

Azure Blob Storage transport requires an Agency license and the DoubleSync.Storage.Azure NuGet package.