Getting Started - robinrodricks/FluentStorage GitHub Wiki

Nugets

To get started, add the main FluentStorage Nuget package into your .NET application.

Then add the packages you need as per the cloud storage providers you want to use.

Connect to blob storage

To construct storage classes, you need to use the factory methods.

Package Factory method Purpose
Package StorageFactory.Blobs.FromConnectionString Creates a blob storage instance from a connection string
Package StorageFactory.Blobs.DirectoryFiles Creates a storage for a specific disk directory
Package StorageFactory.Blobs.InMemory Creates a storage which stores everyting in memory
Package StorageFactory.Blobs.Virtual Creates a virtual storage where you can mount other storage providers to a specific virtual directory
Package StorageFactory.Blobs.AwsS3 Creates an AWS S3 storage bucket or custom S3-compatible storage server.
Package StorageFactory.Blobs.DigitalOceanSpaces Creates a DigitalOcean Spaces storage (S3 compatible).
Package StorageFactory.Blobs.MinIO Creates a MinIO storage server (S3 compatible).
Package StorageFactory.Blobs.Wasabi Creates a Wasabi storage (S3 compatible).
Package StorageFactory.Blobs.GoogleCloudStorageFromEnvironmentVariable Creates a Google Cloud Storage storage with credentials in environment variables
Package StorageFactory.Blobs.GoogleCloudStorageFromJsonFile Creates a Google Cloud Storage storage with credentials in an external JSON
Package StorageFactory.Blobs.GoogleCloudStorageFromJson Creates a Google Cloud Storage storage with credentials in a passed JSON string
Package StorageFactory.Blobs.AzureBlobStorageWithLocalEmulator Creates Azure Blob Storage to connect to a local emulator
Package StorageFactory.Blobs.AzureBlobStorageWithSharedKey Creates Azure Blob Storage with Shared key authentication
Package StorageFactory.Blobs.AzureBlobStorageWithAzureAd Creates Azure Blob Storage with Azure ActiveDirectory (AAD) authentication
Package StorageFactory.Blobs.AzureBlobStorageWithTokenCredential Creates Azure Blob Storage with token credentials
Package StorageFactory.Blobs.AzureBlobStorageWithSas Creates Azure Blob Storage with SAS identity
Package StorageFactory.Blobs.AzureBlobStorageWithMsi Creates Azure Blob Storage with Managed Identity
Package StorageFactory.Blobs.AzureDataLakeGen1StoreByClientSecret Creates Azure Data Lake Gen 1 Store client
Package StorageFactory.Blobs.AzureDataLakeStorageWithMsi Creates Azure Data Lake Gen 2 Storage with Managed Identity
Package StorageFactory.Blobs.AzureDataLakeStorageWithSharedKey Creates Azure Data Lake Gen 2 Storage with Shared key authentication
Package StorageFactory.Blobs.AzureDataLakeStorageWithAzureAd Creates Azure Data Lake Gen 2 Storage with Azure ActiveDirectory (AAD) authentication
Package StorageFactory.Blobs.AzureFiles Creates Azure Files storage
Package StorageFactory.Blobs.AzureKeyVault Creates Azure Key Vault secrets storage
Package StorageFactory.Blobs.AzureKeyVaultWithMsi Creates Azure Key Vault secrets with Managed Identity
Package StorageFactory.Blobs.AzureServiceFabricReliableStorage Creates Azure Service Fabric storage
Package StorageFactory.Blobs.Databricks Creates Azure Databricks DBFS storage
Package StorageFactory.Blobs.Ftp Creates an interface to FTP/FTPS servers
Package StorageFactory.Blobs.FtpFromFluentFtpClient Creates an interface to FTP/FTPS servers with the given client instance
Package StorageFactory.Blobs.Sftp Creates an interface to SFTP servers (FTP over SSH)

Connect to message queues

To construct storage classes, you need to use the factory methods.

Package Factory method Purpose
Package StorageFactory.Messages.MessengerFromConnectionString Creates a message publisher from connection string
Package StorageFactory.Messages.InMemory Creates a message publisher which holds messages in memory
Package StorageFactory.Messages.Disk Creates a message publisher that uses local disk directory as a backing store.
Package StorageFactory.Messages.AwsSQS Creates Amazon Simple Queue Service publisher.
Package StorageFactory.Messages.AzureEventHub Create Azure Event Hub messenger by full connection string.
Package StorageFactory.Messages.AzureStorageQueue Creates a message publisher to Azure Storage Queues.
Package StorageFactory.Messages.AzureServiceBus Creates a message publisher ho Azure Service Bus Queue.
Package StorageFactory.Messages.AzureServiceBusTopicReceiver Creates a message reciever from Azure Service Bus Queue.