SquidStd.Storage.Abstractions
0.22.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package SquidStd.Storage.Abstractions --version 0.22.0
NuGet\Install-Package SquidStd.Storage.Abstractions -Version 0.22.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SquidStd.Storage.Abstractions" Version="0.22.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SquidStd.Storage.Abstractions" Version="0.22.0" />
<PackageReference Include="SquidStd.Storage.Abstractions" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SquidStd.Storage.Abstractions --version 0.22.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SquidStd.Storage.Abstractions, 0.22.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SquidStd.Storage.Abstractions@0.22.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SquidStd.Storage.Abstractions&version=0.22.0
#tool nuget:?package=SquidStd.Storage.Abstractions&version=0.22.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
<h1 align="center">SquidStd.Storage.Abstractions</h1>
Backend-agnostic storage contracts for SquidStd: a binary blob store (IStorageService), a typed object
store (IObjectStorageService), key enumeration (ListKeysAsync), and StorageConfig. Pick a backend
implementation (local file or S3/MinIO) from a companion package.
Install
dotnet add package SquidStd.Storage.Abstractions
Usage
using SquidStd.Storage.Abstractions.Interfaces;
// Resolve IStorageService from a backend package (file or S3).
public async Task DumpKeysAsync(IStorageService storage)
{
await foreach (var key in storage.ListKeysAsync("profiles/"))
{
Console.WriteLine(key);
}
}
Key types
| Type | Purpose |
|---|---|
IStorageService |
Binary blob store: SaveAsync / LoadAsync / DeleteAsync / ExistsAsync / ListKeysAsync. |
IObjectStorageService |
Typed object store over a blob backend (serialized by the provider). |
StorageConfig |
Root directory for file storage. |
Related
- Tutorial: Object storage
License
MIT - part of SquidStd.
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- SquidStd.Core (>= 0.22.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on SquidStd.Storage.Abstractions:
| Package | Downloads |
|---|---|
|
SquidStd.Services.Core
Package Description |
|
|
SquidStd.Storage
Package Description |
|
|
SquidStd.Storage.S3
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.25.0 | 0 | 7/6/2026 |
| 0.24.1 | 0 | 7/6/2026 |
| 0.24.0 | 0 | 7/6/2026 |
| 0.23.0 | 51 | 7/4/2026 |
| 0.22.0 | 51 | 7/4/2026 |
| 0.21.0 | 66 | 7/3/2026 |
| 0.20.0 | 66 | 7/3/2026 |
| 0.19.0 | 72 | 7/3/2026 |
| 0.18.0 | 64 | 7/3/2026 |
| 0.17.0 | 76 | 7/3/2026 |
| 0.16.0 | 72 | 7/3/2026 |
| 0.15.0 | 116 | 7/2/2026 |
| 0.14.1 | 116 | 7/2/2026 |
| 0.14.0 | 112 | 7/2/2026 |
| 0.13.0 | 109 | 7/2/2026 |
| 0.12.0 | 110 | 7/2/2026 |
| 0.11.0 | 114 | 7/2/2026 |
| 0.10.0 | 144 | 6/30/2026 |
| 0.9.0 | 174 | 6/29/2026 |
| 0.8.0 | 169 | 6/28/2026 |
Loading failed