LiteX.Storage.Local 6.4.0

LiteX Local (FileSystem) Storage

This client library enables working with the Local FileSystem Blob service for storing binary/blob data.
     A very simple Wrapper for the Local FileSystem to handle directory instantiations.
     A library to abstract storing files to Local FileSystem.
     Wrapper library is just written for the purpose to bring a new level of ease to the developers who deal with FileSystem integration with your system.
     (Signed URL and Update Properties not implemented)
    
     LiteXStorage is simple yet powerful and very high-performance storage mechanism and incorporating both synchronous and asynchronous usage with some advanced usages of cloud storage which can help us to handle storage more easier!
     Provide Storage service for any type of application (.NET Core, .NET Standard).
     Very simple yet advanced configuration. Minimal (one line) code configuration is required.
     It provides possibility to upload files, upload the content of a folder inclusively subfolders, enumerate buckets/container, enumerate the content of a specific 'subfolder', delete buckets/container and delete files from specific subfolders.

Install-Package LiteX.Storage.Local -Version 6.4.0
dotnet add package LiteX.Storage.Local --version 6.4.0
<PackageReference Include="LiteX.Storage.Local" Version="6.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LiteX.Storage.Local --version 6.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

LiteX FileSystem Storage

LiteX.Storage.Local is a storage library which is based on LiteX.Storage.Core and Local FileSystem.

This client library enables working with the Local FileSystem Storage service for storing binary/blob data.

Small library to abstract storing files to Local FileSystem. Quick setup for Local FileSystem and very simple wrapper for the Local FileSystem Storage to handle container instantiations.

Very simple configuration in advanced ways. Purpose of this package is to bring a new level of ease to the developers who deal with Local FileSystem Storage integration with their system.

Basic Usage

Install the package

Install via Nuget.

PM> Install-Package LiteX.Storage.Local
AppSettings
{  
  //LiteX Local File System Storage settings
  "FileSystemBlobConfig": {
    "Directory": "--- REPLACE WITH YOUR LOCAL FILE SYSTEM DIRECTORY ---",
    "EnableLogging": true
  }
}
Configure Startup Class
public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        // 1. Use default configuration from appsettings.json's 'FileSystemBlobConfig'
        services.AddLiteXFileSystemBlobService();

        //OR
        // 2. Load configuration settings using options.
        services.AddLiteXFileSystemBlobService(option =>
        {
            option.Directory = "UploadFolder";
            option.EnableLogging = true;
        });

        //OR
        // 3. Load configuration settings on your own.
        // (e.g. appsettings, database, hardcoded)
        var fileSystemBlobConfig = new FileSystemBlobConfig()
        {
            Directory = "",
            EnableLogging = true
        };
        services.AddLiteXFileSystemBlobService(fileSystemBlobConfig);
        
        
        // add logging (optional)
        services.AddLiteXLogging();
    }
}

Sample Usage Example

Same for all providers.

For more helpful information about LiteX Storage, Please click here.

LiteX FileSystem Storage

LiteX.Storage.Local is a storage library which is based on LiteX.Storage.Core and Local FileSystem.

This client library enables working with the Local FileSystem Storage service for storing binary/blob data.

Small library to abstract storing files to Local FileSystem. Quick setup for Local FileSystem and very simple wrapper for the Local FileSystem Storage to handle container instantiations.

Very simple configuration in advanced ways. Purpose of this package is to bring a new level of ease to the developers who deal with Local FileSystem Storage integration with their system.

Basic Usage

Install the package

Install via Nuget.

PM> Install-Package LiteX.Storage.Local
AppSettings
{  
  //LiteX Local File System Storage settings
  "FileSystemBlobConfig": {
    "Directory": "--- REPLACE WITH YOUR LOCAL FILE SYSTEM DIRECTORY ---",
    "EnableLogging": true
  }
}
Configure Startup Class
public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        // 1. Use default configuration from appsettings.json's 'FileSystemBlobConfig'
        services.AddLiteXFileSystemBlobService();

        //OR
        // 2. Load configuration settings using options.
        services.AddLiteXFileSystemBlobService(option =>
        {
            option.Directory = "UploadFolder";
            option.EnableLogging = true;
        });

        //OR
        // 3. Load configuration settings on your own.
        // (e.g. appsettings, database, hardcoded)
        var fileSystemBlobConfig = new FileSystemBlobConfig()
        {
            Directory = "",
            EnableLogging = true
        };
        services.AddLiteXFileSystemBlobService(fileSystemBlobConfig);
        
        
        // add logging (optional)
        services.AddLiteXLogging();
    }
}

Sample Usage Example

Same for all providers.

For more helpful information about LiteX Storage, Please click here.

Release Notes

Performance improvement in provider initialization stage.
     Make some sync methods Obsolete.
     Update libraries to latest version.
     New - Delete directory/folder from container/bucket
     New - Get Container/Bucket size in bytes
     New - Get number to total items/files in Container/Bucket
     Coming soon - Multiple provider support (using provider factory)
     Last release notes,
     New - Added new method - Get all containers/buckets
     New - Added new method - Delete all containers/buckets

Version History

Version Downloads Last updated
6.4.0 408 1/31/2019
6.3.0 151 11/15/2018
6.2.0 122 10/10/2018
6.1.0 112 8/26/2018
6.0.0 159 7/22/2018
5.0.0 191 6/27/2018
4.1.0 200 6/16/2018
4.0.0 188 6/2/2018
3.0.0 192 5/7/2018
2.0.0 190 4/25/2018
1.0.0 194 4/22/2018