![]() |
VOOZH | about |
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" />Directory.Packages.props
<PackageReference Include="Plinth.Storage.Azure" />Project file
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.1Install as a Cake Addin
#tool nuget:?package=Plinth.Storage.Azure&version=1.8.1Install as a Cake Tool
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();
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]}"
}
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).
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 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.8.1 | 613 | 12/11/2025 |
| 1.8.0 | 431 | 11/13/2025 |
| 1.8.0-b211.72089fd9 | 273 | 11/12/2025 |
| 1.7.4 | 382 | 8/6/2025 |
| 1.7.3 | 172 | 8/2/2025 |
| 1.7.2 | 362 | 3/16/2025 |
| 1.7.1 | 312 | 12/12/2024 |
| 1.7.0 | 4,333 | 11/12/2024 |
| 1.6.6 | 282 | 11/8/2024 |
| 1.6.5 | 299 | 8/31/2024 |
| 1.6.4 | 207 | 8/2/2024 |
| 1.6.3 | 308 | 5/15/2024 |
| 1.6.2 | 311 | 2/16/2024 |
| 1.6.1 | 3,000 | 1/5/2024 |
| 1.6.0 | 300 | 11/30/2023 |
| 1.5.10-b186.aca976b4 | 172 | 11/30/2023 |
| 1.5.9 | 276 | 11/29/2023 |
| 1.5.9-b174.64153841 | 196 | 11/23/2023 |
| 1.5.9-b172.dfc6e7bd | 177 | 11/17/2023 |
| 1.5.9-b171.4e2b92e2 | 162 | 11/4/2023 |
net10.0 support