.NET object storage library that supports multiple storage providers
$ dotnet add package Centeva.ObjectStorageCenteva.ObjectStorage is a .NET 6+ library that provides a generic interface to local or cloud-hosted object ("blob") storage providers.
Supported providers are:
Import the Centeva.ObjectStorage package to your projects where needed, along
with the desired provider sub-packages:
Centeva.ObjectStorage.GCPCenteva.ObjectStorage.AWSCenteva.ObjectStorage.Azure.BlobCreate an instance of StorageFactory and register providers, then build an
instance of IObjectStorage using a connection string:
var factory = new StorageFactory()
.UseGoogleCloudStorage()
.UseAwsS3Storage();
var storage = factory.GetConnection('provider://key1=value1;key2=value2');
TODO: Write API documentation
Please use a Pull Request to suggest changes to this library. As this is a shared library, strict semantic versioning rules should be followed to avoid unexpected breaking changes.
From Windows, use the dotnet test command, or your Visual Studio Test
Explorer.
This library is versioned by GitVersion. Create a Git tag for an official release (e.g., "v1.0.0"). Version numbers can be incremented via commit message using the GitVersion approaches.