Hexalith.KeyValueStorages.Abstractions
2.1.1
See the version list below for details.
dotnet add package Hexalith.KeyValueStorages.Abstractions --version 2.1.1
NuGet\Install-Package Hexalith.KeyValueStorages.Abstractions -Version 2.1.1
<PackageReference Include="Hexalith.KeyValueStorages.Abstractions" Version="2.1.1" />
<PackageVersion Include="Hexalith.KeyValueStorages.Abstractions" Version="2.1.1" />
<PackageReference Include="Hexalith.KeyValueStorages.Abstractions" />
paket add Hexalith.KeyValueStorages.Abstractions --version 2.1.1
#r "nuget: Hexalith.KeyValueStorages.Abstractions, 2.1.1"
#addin nuget:?package=Hexalith.KeyValueStorages.Abstractions&version=2.1.1
#tool nuget:?package=Hexalith.KeyValueStorages.Abstractions&version=2.1.1
Hexalith Key/Value Storages Abstractions
Overview
The Hexalith.KeyValueStorages.Abstractions package provides the core interfaces and abstractions for implementing key/value storage solutions in the Hexalith ecosystem. It defines a common contract that different storage implementations must follow, ensuring consistency and interoperability across various storage providers.
Purpose
This abstraction layer serves several key purposes:
- Defines a standardized interface for key/value storage operations
- Enables storage provider independence through abstraction
- Facilitates easy switching between different storage implementations
- Provides a foundation for building storage-agnostic applications
Getting Started
Prerequisites
- .NET 9 SDK or later
- A compatible storage implementation package
Installation
Add the package to your project:
dotnet add package Hexalith.KeyValueStorages.Abstractions
Basic Usage
// Inject the storage interface
IKeyValueStorage storage = // ... storage implementation
// Store a value
await storage.SetAsync("myKey", "myValue");
// Retrieve a value
string value = await storage.GetAsync<string>("myKey");
// Check if key exists
bool exists = await storage.ExistsAsync("myKey");
// Remove a value
await storage.RemoveAsync("myKey");
Learn More
- Hexalith Key/Value Stores - Main repository
- Available Storage Implementations - List of supported storage providers
- Examples - Sample implementations
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net9.0
- Hexalith.Commons.Configurations (>= 1.66.3)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Hexalith.KeyValueStorages.Abstractions:
Package | Downloads |
---|---|
Hexalith.KeyValueStorages
Hexalith KeyValueStorages utilities and helpers |
|
Hexalith.KeyValueStorages.Files
Hexalith KeyValueStorages utilities and helpers |
|
Hexalith.KeyValueStorages.DaprComponents
Hexalith KeyValueStorages utilities and helpers |
|
Hexalith.EventStores
Hexalith EventStores utilities and helpers |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.1.2 | 105 | 4/12/2025 |
2.1.1 | 143 | 4/11/2025 |
2.1.0 | 149 | 4/11/2025 |
2.0.2 | 163 | 4/10/2025 |
2.0.1 | 161 | 4/10/2025 |
2.0.0 | 174 | 4/10/2025 |
1.6.0 | 154 | 4/9/2025 |
1.5.0 | 165 | 4/8/2025 |
1.4.2 | 158 | 4/8/2025 |
1.4.1 | 164 | 4/7/2025 |
1.4.0 | 155 | 4/7/2025 |
1.3.2 | 160 | 4/6/2025 |
1.3.1 | 153 | 4/6/2025 |
1.3.0 | 161 | 4/6/2025 |
1.2.0 | 160 | 4/6/2025 |
1.1.0 | 115 | 4/4/2025 |
1.0.0 | 132 | 4/4/2025 |