Mythosia.Azure.Storage.Blobs
1.1.1
dotnet add package Mythosia.Azure.Storage.Blobs --version 1.1.1
NuGet\Install-Package Mythosia.Azure.Storage.Blobs -Version 1.1.1
<PackageReference Include="Mythosia.Azure.Storage.Blobs" Version="1.1.1" />
paket add Mythosia.Azure.Storage.Blobs --version 1.1.1
#r "nuget: Mythosia.Azure.Storage.Blobs, 1.1.1"
// Install Mythosia.Azure.Storage.Blobs as a Cake Addin #addin nuget:?package=Mythosia.Azure.Storage.Blobs&version=1.1.1 // Install Mythosia.Azure.Storage.Blobs as a Cake Tool #tool nuget:?package=Mythosia.Azure.Storage.Blobs&version=1.1.1
**New Features**:
This update introduces an extension method to automatically convert strings into valid Azure Blob Storage container names. Azure Blob Storage imposes strict naming rules requiring lowercase letters, numbers, and hyphens, with specific constraints on hyphen placement and name length. This new feature ensures that container names comply with these rules by transforming arbitrary input strings into valid container names seamlessly.
**Key Benefits**:
- Converts camelCase or PascalCase strings to lowercase with hyphens automatically.
- Replaces disallowed characters with hyphens, ensuring valid naming conventions.
- Handles name length constraints (minimum 3 characters, maximum 63 characters).
- Simplifies compliance with Azure Blob Storage naming standards, reducing errors and improving consistency.
**Usage Example**:
```csharp
using Mythosia.Azure.Storage.Blobs;
// Convert a string to a valid container name
string validName = "PhonoMaster@123".ToBlobContainerName();
// Output: "phono-master-123"
```
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Azure.Core (>= 1.44.1)
- Azure.Identity (>= 1.13.0)
- Azure.Security.KeyVault.Secrets (>= 4.7.0)
- Azure.Storage.Blobs (>= 12.22.2)
- Azure.Storage.Common (>= 12.21.1)
- Microsoft.AspNetCore.Http.Features (>= 5.0.17)
- Mythosia (>= 1.2.3)
- Mythosia.Azure (>= 1.1.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.