LiteX.Storage.Google 6.2.0

This client library enables working with the Google Cloud Storage service for storing binary/blob data.
 A very simple Wrapper for the Google Cloud Storage to handle bucket instantiations.
 A library to abstract storing files to Google Cloud Storage.
 Wrapper library is just written for the purpose to bring a new level of ease to the developers who deal with Google Cloud 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.

There is a newer version of this package available.
See the version list below for details.
Install-Package LiteX.Storage.Google -Version 6.2.0
dotnet add package LiteX.Storage.Google --version 6.2.0
<PackageReference Include="LiteX.Storage.Google" Version="6.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LiteX.Storage.Google --version 6.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

LiteX Google Cloud Storage

LiteX.Storage.Google is a storage library which is based on LiteX.Storage.Core and Google Cloud API.

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

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

Basic Usage

Install the package

Install via Nuget.

PM> Install-Package LiteX.Storage.Google
AppSettings
{  
  //LiteX Google Storage settings
  "GoogleCloudBlobConfig": {
    "GoogleProjectId": "--- REPLACE WITH YOUR GOOGLE PROJECT ID ---",
    "GoogleJsonAuthPath": "--- REPLACE WITH YOUR GOOGLE JSON AUTH PATH ---",
    "GoogleBucketName": "--- REPLACE WITH YOUR GOOGLE BUCKET NAME ---",
    "EnableLogging": true
  }
}
Configure Startup Class
public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        // 1. Use default configuration from appsettings.json's 'GoogleCloudBlobConfig'
        services.AddLiteXGoogleCloudBlobService();

        //OR
        // 2. Load configuration settings using options.
        services.AddLiteXGoogleCloudBlobService(option =>
        {
            option.GoogleProjectId = "";
            option.GoogleJsonAuthPath = "";
            option.GoogleBucketName = "";
            option.EnableLogging = true;
        });

        //OR
        // 3. Load configuration settings on your own.
        // (e.g. appsettings, database, hardcoded)
        var googleCloudBlobConfig = new GoogleCloudBlobConfig()
        {
            GoogleProjectId = "",
            GoogleJsonAuthPath = "",
            GoogleBucketName = "",
            EnableLogging = true
        };
        services.AddLiteXGoogleCloudBlobService(googleCloudBlobConfig);
        
        
        // add logging (optional)
        services.AddLiteXLogging();
    }
}

Sample Usage Example

Same for all providers.

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

LiteX Google Cloud Storage

LiteX.Storage.Google is a storage library which is based on LiteX.Storage.Core and Google Cloud API.

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

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

Basic Usage

Install the package

Install via Nuget.

PM> Install-Package LiteX.Storage.Google
AppSettings
{  
  //LiteX Google Storage settings
  "GoogleCloudBlobConfig": {
    "GoogleProjectId": "--- REPLACE WITH YOUR GOOGLE PROJECT ID ---",
    "GoogleJsonAuthPath": "--- REPLACE WITH YOUR GOOGLE JSON AUTH PATH ---",
    "GoogleBucketName": "--- REPLACE WITH YOUR GOOGLE BUCKET NAME ---",
    "EnableLogging": true
  }
}
Configure Startup Class
public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        // 1. Use default configuration from appsettings.json's 'GoogleCloudBlobConfig'
        services.AddLiteXGoogleCloudBlobService();

        //OR
        // 2. Load configuration settings using options.
        services.AddLiteXGoogleCloudBlobService(option =>
        {
            option.GoogleProjectId = "";
            option.GoogleJsonAuthPath = "";
            option.GoogleBucketName = "";
            option.EnableLogging = true;
        });

        //OR
        // 3. Load configuration settings on your own.
        // (e.g. appsettings, database, hardcoded)
        var googleCloudBlobConfig = new GoogleCloudBlobConfig()
        {
            GoogleProjectId = "",
            GoogleJsonAuthPath = "",
            GoogleBucketName = "",
            EnableLogging = true
        };
        services.AddLiteXGoogleCloudBlobService(googleCloudBlobConfig);
        
        
        // add logging (optional)
        services.AddLiteXLogging();
    }
}

Sample Usage Example

Same for all providers.

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

Release Notes

Update libraries to latest version.
     New - Added new method - Get all containers/buckets
     New - Added new method - Delete all containers/buckets
     Coming soon - New method - Delete directory/folder from container/bucket
     Coming soon - New method - Get Container/Bucket size in bytes
     Coming soon - New method - Get number to total items/files in Container/Bucket

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
7.0.0 53 8/4/2019
6.4.0 281 1/31/2019
6.3.0 121 11/15/2018
6.2.0 145 10/10/2018
6.1.0 121 8/26/2018
6.0.0 168 7/22/2018
5.0.0 173 6/27/2018
4.1.0 235 6/16/2018
4.0.0 196 6/2/2018
3.0.0 198 5/7/2018
2.0.0 212 4/25/2018
1.0.0 225 4/22/2018