Mole.StorageProviders.AzureBlob.TemporaryFile 17.1.0

dotnet add package Mole.StorageProviders.AzureBlob.TemporaryFile --version 17.1.0
                    
NuGet\Install-Package Mole.StorageProviders.AzureBlob.TemporaryFile -Version 17.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mole.StorageProviders.AzureBlob.TemporaryFile" Version="17.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mole.StorageProviders.AzureBlob.TemporaryFile" Version="17.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Mole.StorageProviders.AzureBlob.TemporaryFile" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Mole.StorageProviders.AzureBlob.TemporaryFile --version 17.1.0
                    
#r "nuget: Mole.StorageProviders.AzureBlob.TemporaryFile, 17.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Mole.StorageProviders.AzureBlob.TemporaryFile@17.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Mole.StorageProviders.AzureBlob.TemporaryFile&version=17.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Mole.StorageProviders.AzureBlob.TemporaryFile&version=17.1.0
                    
Install as a Cake Tool

Mole.StorageProviders.AzureBlob.TemporaryFile

Azure Blob Storage provider for temporary file uploads in Umbraco CMS. This package enables Umbraco deployments to store temporary uploaded files in Azure Blob Storage instead of local disk, eliminating filesystem dependencies for uploaded content.

Why Use This Package?

When running Umbraco in containers (Docker, Kubernetes, Azure Container Instances, etc.), storing files on the local filesystem creates challenges, especially when load balancing:

  • Files are lost when containers restart or scale
  • Shared storage across multiple container instances is complex
  • Ephemeral container filesystems aren't designed for file persistence

This package solves these problems by redirecting temporary file uploads to Azure Blob Storage, making your Umbraco deployment truly stateless and container-friendly.

Installation

Install via NuGet Package Manager:

dotnet add package Mole.StorageProviders.AzureBlob.TemporaryFile

Configuration

Add your Azure Blob Storage connection string to appsettings.json:

{
  "Umbraco": {
    "Storage": {
      "AzureBlob": {
        "TemporaryFile": {
          "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=your-account;AccountKey=your-key;EndpointSuffix=core.windows.net",
          "ContainerName": "umbraco-temp-uploads"
        }
      }
    }
  }
}

The ContainerName is optional and defaults to tempfiles

Security Note: For production environments, use Azure Key Vault, Managed Identity, or environment variables instead of storing connection strings in configuration files.

Versioning

This package starts at version 17 to align with Umbraco's versioning scheme and other storage provider packages. This makes it easier to identify which version to install based on your Umbraco version. For example, version 17.x is compatible with Umbraco 17.

How It Works

This package implements Umbraco's ITemporaryFileRepository interface, redirecting all temporary file operations to Azure Blob Storage. When files are uploaded through the Umbraco backoffice, they're stored in your configured Azure Blob container instead of the local ~/umbraco/Data/TEMP folder.

Requirements

  • Umbraco 17.0 or higher
  • Azure Storage Account

Contributing

Contributions are welcome! Please feel free to submit issues, fork the repository, and create pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For issues, questions, or feature requests, please open an issue on the GitHub repository.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
17.1.0 376 12/18/2025
17.0.0 180 11/27/2025
17.0.0-rc1 154 11/7/2025