Plinth.Storage.Azure
1.8.1
Prefix Reserved
dotnet add package Plinth.Storage.Azure --version 1.8.1
NuGet\Install-Package Plinth.Storage.Azure -Version 1.8.1
<PackageReference Include="Plinth.Storage.Azure" Version="1.8.1" />
<PackageVersion Include="Plinth.Storage.Azure" Version="1.8.1" />
<PackageReference Include="Plinth.Storage.Azure" />
paket add Plinth.Storage.Azure --version 1.8.1
#r "nuget: Plinth.Storage.Azure, 1.8.1"
#:package Plinth.Storage.Azure@1.8.1
#addin nuget:?package=Plinth.Storage.Azure&version=1.8.1
#tool nuget:?package=Plinth.Storage.Azure&version=1.8.1
README
Plinth.Storage.Azure
Storage Provider for Plinth.Storage to write blob data to Azure Blob Storage
Enables storing the blob data used by Plinth.Storage in Azure Blob Storage
This package adds these extension methods to Plinth.Storage.StorageFactory to utilize Azure Blob Storage
storageFactory.AddAzureBlobProvider(new AzureBlobSettings()
{
ConnectionString = "{from-azure-portal}",
ContainerName = "MyBlobs"
});
storageFactory.SetDefaultWriteProviderAsAzureBlob();
Index Strategies
By default, this will write blobs to the root of the container. There are 2 other built in options for further segmenting the blobs. To use these, set DefaultIndexStrategy in AzureBlobSettings
DefaultIndexStrategy.ByDate
This will place the blobs in a sub folder with the current date as /YY/MM/DD/{blobId}
DefaultIndexStrategy.ByDateTime
This will place the blobs in a sub folder with the current date and current hour as /YY/MM/DD/HH/{blobId}
Alternatively, a custom indexing strategy can be provided. For example, the below will place the blobs under a folder named the first character of the blob's guid.
new AzureBlobSettings()
{
...
CustomIndexStrategy = blob => $"{blob.Guid!.ToString()![0]}"
}
Backup Container
By default, blobs will be written to the bucket specified. This library supports writing a backup to other containers.
To enable, use storageFactory.AddBackupAzureBlobProvider(settings) with a complete AzureBlobSettings object. Blobs will be written to the container specified (using the primary index).
File Extensions
By default, the blobs will a file extension in blob storage which come from the blob name field. This allows for browsers to more easily download those files directly.
To disable this, set DisableBlobExtensions to true in AzureBlobSettings and the blobs will not have a file extension.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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)
- Plinth.Storage (>= 1.8.1)
-
net8.0
- Azure.Storage.Blobs (>= 12.26.0)
- Plinth.Storage (>= 1.8.1)
- System.Text.Json (>= 10.0.0)
-
net9.0
- Azure.Storage.Blobs (>= 12.26.0)
- Plinth.Storage (>= 1.8.1)
- System.Text.Json (>= 10.0.0)
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 |
|---|---|---|
| 1.8.1 | 173 | 12/11/2025 |
| 1.8.0 | 325 | 11/13/2025 |
| 1.8.0-b211.72089fd9 | 254 | 11/12/2025 |
| 1.7.4 | 352 | 8/6/2025 |
| 1.7.3 | 145 | 8/2/2025 |
| 1.7.2 | 337 | 3/16/2025 |
| 1.7.1 | 285 | 12/12/2024 |
| 1.7.0 | 388 | 11/12/2024 |
| 1.6.6 | 252 | 11/8/2024 |
| 1.6.5 | 273 | 8/31/2024 |
| 1.6.4 | 181 | 8/2/2024 |
| 1.6.3 | 276 | 5/15/2024 |
| 1.6.2 | 285 | 2/16/2024 |
| 1.6.1 | 2,885 | 1/5/2024 |
| 1.6.0 | 283 | 11/30/2023 |
| 1.5.10-b186.aca976b4 | 154 | 11/30/2023 |
| 1.5.9 | 251 | 11/29/2023 |
| 1.5.9-b174.64153841 | 171 | 11/23/2023 |
| 1.5.9-b172.dfc6e7bd | 162 | 11/17/2023 |
| 1.5.9-b171.4e2b92e2 | 143 | 11/4/2023 |
net10.0 support