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
<PackageReference Include="Mole.StorageProviders.AzureBlob.TemporaryFile" Version="17.1.0" />
<PackageVersion Include="Mole.StorageProviders.AzureBlob.TemporaryFile" Version="17.1.0" />
<PackageReference Include="Mole.StorageProviders.AzureBlob.TemporaryFile" />
paket add Mole.StorageProviders.AzureBlob.TemporaryFile --version 17.1.0
#r "nuget: Mole.StorageProviders.AzureBlob.TemporaryFile, 17.1.0"
#:package Mole.StorageProviders.AzureBlob.TemporaryFile@17.1.0
#addin nuget:?package=Mole.StorageProviders.AzureBlob.TemporaryFile&version=17.1.0
#tool nuget:?package=Mole.StorageProviders.AzureBlob.TemporaryFile&version=17.1.0
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 | Versions 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. |
-
net10.0
- Azure.Storage.Blobs (>= 12.26.0)
- Umbraco.Cms.Core (>= 17.0.0 && <= 17.999.999)
- Umbraco.Cms.Infrastructure (>= 17.0.0 && <= 17.999.999)
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 |