LiteX.Storage.Azure 6.4.0

LiteX Storage Azure

This client library enables working with the Microsoft Azure Storage Blob service for storing binary/blob data.
     A very simple Wrapper for the Azure Blob Storage to handle container instantiations.
     A library to abstract storing files to Microsoft Azure.
     Wrapper library is just written for the purpose to bring a new level of ease to the developers who deal with Azure integration with your system.
    
     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.Azure -Version 6.4.0
dotnet add package LiteX.Storage.Azure --version 6.4.0
<PackageReference Include="LiteX.Storage.Azure" 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.Azure --version 6.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

LiteX Azure Storage

LiteX.Storage.Azure is a storage library which is based on LiteX.Storage.Core and Microsoft Azure API.

This client library enables working with the Microsoft Azure Storage (Blob) service for storing binary/blob data.

Small library to abstract storing files to Microsoft Azure. Quick setup for Azure Storage and very simple wrapper for the Azure Blob 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 Azure Blob Storage integration with their system.

Basic Usage

Install the package

Install via Nuget.

PM> Install-Package LiteX.Storage.Azure
AppSettings
{  
  //LiteX Azure Storage settings
  "AzureBlobConfig": {
    "AzureBlobStorageConnectionString": "--- REPLACE WITH YOUR AZURE CONNECTION STRING ---",
    "AzureBlobStorageContainerName": "--- REPLACE WITH YOUR AZURE CONTAINER NAME ---",
    "AzureBlobStorageEndPoint": "--- REPLACE WITH YOUR AZURE END POINT ---",
    "EnableLogging": true
  }
}
Configure Startup Class
public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        // 1. Use default configuration from appsettings.json's 'AzureBlobConfig'
        services.AddLiteXAzureBlobService();

        //OR
        // 2. Load configuration settings using options.
        services.AddLiteXAzureBlobService(option =>
        {
            option.AzureBlobStorageConnectionString = "";
            option.AzureBlobStorageContainerName = "";
            option.AzureBlobStorageEndPoint = "";
            option.EnableLogging = true;
        });

        //OR
        // 3. Load configuration settings on your own.
        // (e.g. appsettings, database, hardcoded)
        var azureBlobConfig = new AzureBlobConfig()
        {
            AzureBlobStorageConnectionString = "",
            AzureBlobStorageContainerName = "",
            AzureBlobStorageEndPoint = "",
            EnableLogging = true
        };
        services.AddLiteXAzureBlobService(azureBlobConfig);
        
        
        // add logging (optional)
        services.AddLiteXLogging();
    }
}

Sample Usage Example

Same for all providers.

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

LiteX Azure Storage

LiteX.Storage.Azure is a storage library which is based on LiteX.Storage.Core and Microsoft Azure API.

This client library enables working with the Microsoft Azure Storage (Blob) service for storing binary/blob data.

Small library to abstract storing files to Microsoft Azure. Quick setup for Azure Storage and very simple wrapper for the Azure Blob 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 Azure Blob Storage integration with their system.

Basic Usage

Install the package

Install via Nuget.

PM> Install-Package LiteX.Storage.Azure
AppSettings
{  
  //LiteX Azure Storage settings
  "AzureBlobConfig": {
    "AzureBlobStorageConnectionString": "--- REPLACE WITH YOUR AZURE CONNECTION STRING ---",
    "AzureBlobStorageContainerName": "--- REPLACE WITH YOUR AZURE CONTAINER NAME ---",
    "AzureBlobStorageEndPoint": "--- REPLACE WITH YOUR AZURE END POINT ---",
    "EnableLogging": true
  }
}
Configure Startup Class
public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        // 1. Use default configuration from appsettings.json's 'AzureBlobConfig'
        services.AddLiteXAzureBlobService();

        //OR
        // 2. Load configuration settings using options.
        services.AddLiteXAzureBlobService(option =>
        {
            option.AzureBlobStorageConnectionString = "";
            option.AzureBlobStorageContainerName = "";
            option.AzureBlobStorageEndPoint = "";
            option.EnableLogging = true;
        });

        //OR
        // 3. Load configuration settings on your own.
        // (e.g. appsettings, database, hardcoded)
        var azureBlobConfig = new AzureBlobConfig()
        {
            AzureBlobStorageConnectionString = "",
            AzureBlobStorageContainerName = "",
            AzureBlobStorageEndPoint = "",
            EnableLogging = true
        };
        services.AddLiteXAzureBlobService(azureBlobConfig);
        
        
        // 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.
     Use Azure blob storage SDK (New).
     Coming soon - Multiple provider support (using provider factory)
     Last release notes,
     New - Delete directory/folder from container/bucket
     New - Get Container/Bucket size in bytes
     New - Get number to total items/files in Container/Bucket
     New - Added new method - Get all containers/buckets
     New - Added new method - Delete all containers/buckets

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
6.4.0 983 1/31/2019
6.3.0 1,391 11/15/2018
6.2.0 188 10/10/2018
6.1.0 466 8/26/2018
6.0.0 206 7/22/2018
5.0.0 239 6/27/2018
4.1.0 258 6/16/2018
4.0.0 243 6/2/2018
3.0.0 274 5/7/2018
2.0.0 382 4/25/2018
1.0.1 298 4/22/2018
1.0.0 418 4/21/2018