![]() |
VOOZH | about |
dotnet add package CShells.Providers.FluentStorage --version 0.0.28
NuGet\Install-Package CShells.Providers.FluentStorage -Version 0.0.28
<PackageReference Include="CShells.Providers.FluentStorage" Version="0.0.28" />
<PackageVersion Include="CShells.Providers.FluentStorage" Version="0.0.28" />Directory.Packages.props
<PackageReference Include="CShells.Providers.FluentStorage" />Project file
paket add CShells.Providers.FluentStorage --version 0.0.28
#r "nuget: CShells.Providers.FluentStorage, 0.0.28"
#:package CShells.Providers.FluentStorage@0.0.28
#addin nuget:?package=CShells.Providers.FluentStorage&version=0.0.28Install as a Cake Addin
#tool nuget:?package=CShells.Providers.FluentStorage&version=0.0.28Install as a Cake Tool
FluentStorage integration provider for CShells enabling shell configuration storage in various backends.
This package provides a shell settings provider that uses FluentStorage to load and persist shell configurations from various storage backends including local disk, Azure Blob Storage, AWS S3, and more.
FluentStorage supports numerous storage providers:
dotnet add package CShells.Providers.FluentStorage
dotnet add package FluentStorage
# Add specific FluentStorage provider packages as needed
# e.g., FluentStorage.Azure.Blobs, FluentStorage.AWS
Create JSON files in a Shells folder (e.g., Default.json, Admin.json):
Shells/Default.json:
{
"Name": "Default",
"Features": ["Core", "Weather"],
"Configuration": {
"WebRouting": {
"Path": ""
}
}
}
Shells/Admin.json:
{
"Name": "Admin",
"Features": ["Core", "Admin"],
"Configuration": {
"WebRouting": {
"Path": "admin",
"RoutePrefix": "api/v1"
}
}
}
Program.cs:
using FluentStorage;
using CShells.Providers.FluentStorage;
var builder = WebApplication.CreateBuilder(args);
var shellsPath = Path.Combine(builder.Environment.ContentRootPath, "Shells");
var blobStorage = StorageFactory.Blobs.DirectoryFiles(shellsPath);
builder.AddShells(cshells =>
{
cshells.WithFluentStorageProvider(blobStorage);
});
var app = builder.Build();
app.MapShells();
app.Run();
using FluentStorage;
using FluentStorage.Azure.Blobs;
using CShells.Providers.FluentStorage;
var builder = WebApplication.CreateBuilder(args);
var connectionString = builder.Configuration.GetConnectionString("AzureStorage");
var blobStorage = StorageFactory.Blobs.AzureBlobStorage(connectionString, "shells");
builder.AddShells(cshells =>
{
cshells.WithFluentStorageProvider(blobStorage);
});
var app = builder.Build();
app.MapShells();
app.Run();
using FluentStorage;
using FluentStorage.AWS;
using CShells.Providers.FluentStorage;
var builder = WebApplication.CreateBuilder(args);
var blobStorage = StorageFactory.Blobs.AwsS3(
accessKeyId: "your-access-key",
secretAccessKey: "your-secret-key",
bucketName: "shells",
region: "us-east-1"
);
builder.AddShells(cshells =>
{
cshells.WithFluentStorageProvider(blobStorage);
});
var app = builder.Build();
app.MapShells();
app.Run();
Shell configuration files should be named with the shell name followed by .json:
Default.json → Shell with Name: "Default"Acme.json → Shell with Name: "Acme"Contoso.json → Shell with Name: "Contoso"Each JSON file should contain a complete shell configuration:
{
"Name": "ShellName",
"Features": ["Feature1", "Feature2"],
"Configuration": {
"WebRouting": {
"Path": "path",
"Host": "example.com",
"RoutePrefix": "api/v1"
},
"CustomSetting": "value"
}
}
| 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 |
|---|---|---|
| 0.0.28 | 92 | 6/12/2026 |
| 0.0.27 | 90 | 6/12/2026 |
| 0.0.26 | 95 | 6/12/2026 |
| 0.0.25 | 95 | 6/11/2026 |
| 0.0.24 | 105 | 5/15/2026 |
| 0.0.23 | 98 | 5/15/2026 |
| 0.0.22 | 92 | 5/14/2026 |
| 0.0.21 | 101 | 5/12/2026 |
| 0.0.20 | 109 | 5/8/2026 |
| 0.0.19 | 91 | 5/6/2026 |
| 0.0.18 | 100 | 5/2/2026 |
| 0.0.17 | 108 | 4/29/2026 |
| 0.0.16 | 113 | 4/27/2026 |
| 0.0.15 | 103 | 4/27/2026 |
| 0.0.14 | 111 | 4/20/2026 |
| 0.0.13 | 113 | 4/17/2026 |
| 0.0.12 | 135 | 3/16/2026 |
| 0.0.11 | 120 | 2/28/2026 |
| 0.0.10 | 116 | 2/24/2026 |
| 0.0.9 | 116 | 2/15/2026 |